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/branches/ruby_1_6@1724 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
eban 2001-09-03 09:59:57 +00:00
parent 34238fc2e0
commit 6242595aba

4
ruby.c
View file

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