ruby.1: [DOC] options to exit [ci skip]
* man/ruby.1: `--copyright` and `--version` quit immediately, and also `--verbose` if no scripts are given. [ruby-core:86391] [Bug #14633] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63038 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
46b391ff73
commit
07889292dd
11
man/ruby.1
11
man/ruby.1
@ -143,10 +143,12 @@ They are quite similar to those of
|
|||||||
.Bl -tag -width "1234567890123" -compact
|
.Bl -tag -width "1234567890123" -compact
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl -copyright
|
.It Fl -copyright
|
||||||
Prints the copyright notice.
|
Prints the copyright notice, and quits immediately without running any
|
||||||
|
script.
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl -version
|
.It Fl -version
|
||||||
Prints the version of Ruby interpreter.
|
Prints the version of Ruby interpreter, and quits immediately without
|
||||||
|
running any script.
|
||||||
.Pp
|
.Pp
|
||||||
.It Fl 0 Ns Op Ar octal
|
.It Fl 0 Ns Op Ar octal
|
||||||
(The digit
|
(The digit
|
||||||
@ -457,8 +459,9 @@ Enables verbose mode without printing version message at the
|
|||||||
beginning. It sets the
|
beginning. It sets the
|
||||||
.Li "$VERBOSE"
|
.Li "$VERBOSE"
|
||||||
variable to true.
|
variable to true.
|
||||||
If this switch is given, and no other switches are present, Ruby quits
|
If this switch is given, and no script arguments (script file or
|
||||||
after printing its version.
|
.Fl e
|
||||||
|
options) are present, Ruby quits immediately.
|
||||||
.El
|
.El
|
||||||
.Pp
|
.Pp
|
||||||
.Sh ENVIRONMENT
|
.Sh ENVIRONMENT
|
||||||
|
Loading…
x
Reference in New Issue
Block a user