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
This commit is contained in:
nobu 2015-11-19 10:45:04 +00:00
Родитель c1da4ef8d1
Коммит d32a48ed6c
2 изменённых файлов: 6 добавлений и 2 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Thu Nov 19 19:45:05 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
* 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 <ko1@atdot.net>
* signal.c: should also clear ruby_disable_gc.

3
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.