From: Yugui Date: 2008-03-14T13:48:14+09:00 Subject: [ruby-dev:34045] Re: Should --verbose be equal to -v ? Yuguiです。 On 2008/03/10, at 15:22, Yukihiro Matsumoto wrote: > リファレンスマニュアルやmanによれば起動オプション--verbose > |は-vの同義語の筈ですが、そのようになっていません。 > |-vはバージョン番号を出力しますが、--verboseはしません。 > |これは意図されたことでしょうか。 > |trunk、1.8ともに同じです。 > > 意図したことです。ドキュメントを書き換えるべきでしょう。 > manを直しました。英文に自信はないですが。 Index: ruby.1 =================================================================== --- ruby.1 (revision 15774) +++ ruby.1 (working copy) @@ -302,12 +302,15 @@ .Pp .It Fl v .It Fl -verbose -Enables verbose mode. Ruby will print its version at the beginning, -and set the variable +Enables verbose mode. Ruby will sets the variable .Li "$VERBOSE" -to true. Some methods print extra messages if this variable is true. +to true. Some methods print extra messages if this variable is true. If this switch is given, and no other switches are present, Ruby quits -after printing its version. +immediately. For +.Fl v +switch, not +.Fl -verbose Ns +, Ruby also prints its version at the beginning. .Pp .It Fl w Enables verbose mode without printing version message at the -- Yugui yugui@yugui.sakura.ne.jp http://idm.s9.xrea.com