1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* ruby.1: Separated --verbose from -v. [ruby-dev:34011]

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15847 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
yugui 2008-03-28 11:37:02 +00:00
parent a099df6bbf
commit b62af05a98

10
ruby.1
View file

@ -24,6 +24,7 @@
.Op Fl r Ar library .Op Fl r Ar library
.Op Fl x Ns Op Ar directory .Op Fl x Ns Op Ar directory
.Op Fl -disable-gems .Op Fl -disable-gems
.Op Fl -verbose
.Op Fl - .Op Fl -
.Op Ar program_file .Op Ar program_file
.Op Ar argument ... .Op Ar argument ...
@ -301,7 +302,6 @@ but it does not work if the script is being interpreted by
.Xr csh 1 . .Xr csh 1 .
.Pp .Pp
.It Fl v .It Fl v
.It Fl -verbose
Enables verbose mode. Ruby will print its version at the beginning, Enables verbose mode. Ruby will print its version at the beginning,
and set the variable and set the variable
.Li "$VERBOSE" .Li "$VERBOSE"
@ -340,6 +340,14 @@ this switch, unless you are going to debug the Ruby interpreter.
.It Fl -disable-gems .It Fl -disable-gems
Disables RubyGems libraries. By default, Ruby will load the latest Disables RubyGems libraries. By default, Ruby will load the latest
version of each installed gem. version of each installed gem.
.Pp
.It Fl -verbose
Enables verbose mode without printing version message at the
beginning. It sets the
.Li "$VERBOSE"
variable to true.
If this switch is given, and no other switches are present, Ruby quits
after printing its version.
.El .El
.Pp .Pp
.Sh ENVIRONMENT .Sh ENVIRONMENT