mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ruby.c (usage): -T and -W descriptions updated. see
[ruby-dev:39539] * man/ruby.1: ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@25486 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9350a57463
commit
1996a4af69
3 changed files with 11 additions and 4 deletions
|
@ -1,3 +1,10 @@
|
|||
Mon Oct 26 12:34:08 2009 Yusuke Endoh <mame@tsg.ne.jp>
|
||||
|
||||
* ruby.c (usage): -T and -W descriptions updated. see
|
||||
[ruby-dev:39539]
|
||||
|
||||
* man/ruby.1: ditto.
|
||||
|
||||
Mon Oct 26 12:06:27 2009 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* io.c (io_fwrite): adjust stdio file position after direct write on
|
||||
|
|
|
@ -205,14 +205,14 @@ on machines that don't support it, in the following manner:
|
|||
exec /usr/local/bin/ruby -S $0 $*
|
||||
.Ed
|
||||
.Pp
|
||||
.It Fl T Ns Op Ar level
|
||||
.It Fl T Ns Op Ar level=1
|
||||
Turns on taint checks at the specified level (default 1).
|
||||
.Pp
|
||||
.It Fl U
|
||||
Sets the defalut value for internal encodings
|
||||
.Pf ( Li "Encoding.default_internal" ) to UTF-8.
|
||||
.Pp
|
||||
.It Fl W Ns Op Ar level
|
||||
.It Fl W Ns Op Ar level=2
|
||||
Turns on verbose mode at the specified level, without printing version
|
||||
message at the beginning. The level can be;
|
||||
.Bl -hang -offset indent
|
||||
|
|
4
ruby.c
4
ruby.c
|
@ -147,10 +147,10 @@ usage(const char *name)
|
|||
"-rlibrary require the library, before executing your script",
|
||||
"-s enable some switch parsing for switches after script name",
|
||||
"-S look for the script using PATH environment variable",
|
||||
"-T[level] turn on tainting checks",
|
||||
"-T[level=1] turn on tainting checks",
|
||||
"-v print version number, then turn on verbose mode",
|
||||
"-w turn warnings on for your script",
|
||||
"-W[level] set warning level; 0=silence, 1=medium, 2=verbose (default for level)",
|
||||
"-W[level=2] set warning level; 0=silence, 1=medium, 2=verbose",
|
||||
"-x[directory] strip off text before #!ruby line and perhaps cd to directory",
|
||||
"--copyright print the copyright",
|
||||
"--version print the version",
|
||||
|
|
Loading…
Reference in a new issue