1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ruby.c (proc_option): fix shift ARGV issue

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@1724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2001-09-03 09:59:57 +00:00
parent 0f35b58a2f
commit 5a5bc9e7db

4
ruby.c
View file

@ -705,7 +705,9 @@ proc_options(argc, argv)
if (!script) script = argv[0];
}
}
argc--; argv++;
if (!e_script) {
argc--; argv++;
}
}
ruby_script(script);