From b62af05a98bc3ebbbca546270e7efa5abd3a17f5 Mon Sep 17 00:00:00 2001 From: yugui Date: Fri, 28 Mar 2008 11:37:02 +0000 Subject: * 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 --- ruby.1 | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'ruby.1') 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 -- cgit v1.2.3