summaryrefslogtreecommitdiff
path: root/ruby.1
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-28 11:37:02 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-28 11:37:02 +0000
commitb62af05a98bc3ebbbca546270e7efa5abd3a17f5 (patch)
tree4f903d5b614686005eec8fa531573dbb589ec6a5 /ruby.1
parenta099df6bbfe4be9ee455d86e3a2e93ab3e55500b (diff)
* 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
Diffstat (limited to 'ruby.1')
-rw-r--r--ruby.110
1 files changed, 9 insertions, 1 deletions
diff --git a/ruby.1 b/ruby.1
index b8f3698d3f..6310874869 100644
--- a/ruby.1
+++ b/ruby.1
@@ -24,6 +24,7 @@
.Op Fl r Ar library
.Op Fl x Ns Op Ar directory
.Op Fl -disable-gems
+.Op Fl -verbose
.Op Fl -
.Op Ar program_file
.Op Ar argument ...
@@ -301,7 +302,6 @@ but it does not work if the script is being interpreted by
.Xr csh 1 .
.Pp
.It Fl v
-.It Fl -verbose
Enables verbose mode. Ruby will print its version at the beginning,
and set the variable
.Li "$VERBOSE"
@@ -340,6 +340,14 @@ this switch, unless you are going to debug the Ruby interpreter.
.It Fl -disable-gems
Disables RubyGems libraries. By default, Ruby will load the latest
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
.Pp
.Sh ENVIRONMENT