diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-09-03 09:59:57 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2001-09-03 09:59:57 +0000 |
commit | 6242595aba8ee59dbc25770ed96b9fd4a6cae0b1 (patch) | |
tree | a212ee4a33400380e7950ba11ab39166247538f3 /ruby.c | |
parent | 34238fc2e0d18aae9e6a0012303e26da2cfb502a (diff) |
* 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
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -702,7 +702,9 @@ proc_options(argc, argv) if (!script) script = argv[0]; } } - argc--; argv++; + if (!e_script) { + argc--; argv++; + } } ruby_script(script); |