From d32a48ed6c6295f779b658f4759c2c5087f591ce Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 19 Nov 2015 10:45:04 +0000 Subject: [PATCH] ruby.c: fix ARGV doc [ci skip] * ruby.c (ruby_prog_init): [DOC] ARGV does not contain the name of the executable. [ruby-core:71561] [Bug #11711] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 5 +++++ ruby.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/ChangeLog b/ChangeLog index 7481ca3121..89ba827139 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Nov 19 19:45:05 2015 Nobuyoshi Nakada + + * ruby.c (ruby_prog_init): [DOC] ARGV does not contain the name of + the executable. [ruby-core:71561] [Bug #11711] + Thu Nov 19 15:53:21 2015 Koichi Sasada * signal.c: should also clear ruby_disable_gc. diff --git a/ruby.c b/ruby.c index ee481f2a42..8a93921dbb 100644 --- a/ruby.c +++ b/ruby.c @@ -2035,8 +2035,7 @@ ruby_prog_init(void) rb_define_module_function(rb_mProcess, "setproctitle", proc_setproctitle, 1); /* - * ARGV contains the command line arguments used to run ruby with the - * first value containing the name of the executable. + * ARGV contains the command line arguments used to run ruby. * * A library like OptionParser can be used to process command-line * arguments.