mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
747f9a2734
commit
04444e9535
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Thu May 23 14:52:32 2002 WATANABE Hirofumi <eban@ruby-lang.org>
|
||||
|
||||
* ruby.c (proc_options): -v should not print version if
|
||||
proc_options called via moreswitches().
|
||||
|
||||
Thu May 23 09:13:56 2002 Yukihiro Matsumoto <matz@ruby-lang.org>
|
||||
|
||||
* ruby.c (proc_options): removed "-*-" support for #! line.
|
||||
|
|
2
ruby.c
2
ruby.c
|
@ -438,7 +438,7 @@ proc_options(argc, argv)
|
|||
goto reswitch;
|
||||
|
||||
case 'v':
|
||||
if (verbose) {
|
||||
if (argv0 == 0 || verbose) {
|
||||
s++;
|
||||
goto reswitch;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue