Skip to content

Commit

Permalink
ruby.c: fix ARGV doc [ci skip]
Browse files Browse the repository at this point in the history
* ruby.c (ruby_prog_init): [DOC] ARGV does not contain the name of
  the executable.  [ruby-core:71561] [Bug ruby#11711]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@52670 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
nobu committed Nov 19, 2015
1 parent c1da4ef commit d32a48e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
3 changes: 1 addition & 2 deletions ruby.c
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit d32a48e

Please sign in to comment.