diff options
author | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-23 05:54:23 +0000 |
---|---|---|
committer | eban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2002-05-23 05:54:23 +0000 |
commit | 04444e9535d4e95ba2cf9b9239f61153aa798d12 (patch) | |
tree | 073d8c932dc5ccd0b4b95388eb348440e6e7a405 /ruby.c | |
parent | 747f9a2734d455024c24b23eecb8f71ea1ac5275 (diff) |
* ruby.c (proc_options): -v should not print version if
proc_options called via moreswitches().
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_6@2494 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.c')
-rw-r--r-- | ruby.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -438,7 +438,7 @@ proc_options(argc, argv) goto reswitch; case 'v': - if (verbose) { + if (argv0 == 0 || verbose) { s++; goto reswitch; } |