summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-11 14:14:29 (GMT)
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-11-11 14:14:29 (GMT)
commit43463a5cb665badd20c3e3ee672bdc745845e28b (patch)
treefaf34b91d43b268d27461b08428c986277246f6f /man
parente087f9ed6ade89fea17b5134104d26a99df3250b (diff)
* man/ruby.1 (RUBYOPT): wrote which option can appear.
(--yydebug): wrote "do not use". (--dump): wrote "do not use". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@20212 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'man')
-rw-r--r--man/ruby.123
1 files changed, 23 insertions, 0 deletions
diff --git a/man/ruby.1 b/man/ruby.1
index 730c7a9..e2d0abd 100644
--- a/man/ruby.1
+++ b/man/ruby.1
@@ -24,6 +24,7 @@
.Op Fl r Ar library
.Op Fl x Ns Op Ar directory
.Op - Ns Bro Cm enable Ns | Ns Cm disable Brc Ns - Ns Ar FEATURE
+.Op Fl -dump Ns = Ns Ar target
.Op Fl -verbose
.Op Fl -
.Op Ar program_file
@@ -373,6 +374,8 @@ before executing script.
.Pp
.It Fl y
.It Fl -yydebug
+DO NOT USE.
+
Turns on compiler debug mode. Ruby will print a bunch of internal
state messages during compiling scripts. You don't have to specify
this switch, unless you are going to debug the Ruby interpreter.
@@ -402,6 +405,20 @@ Disables (or enables) all features.
.Pp
.El
.Pp
+.It Fl -dump Ns = Ns Ar target
+DO NOT USE.
+
+Prints the specified target.
+.Ar target
+can be one of;
+.Bl -hang -offset indent
+.It Sy insns
+disassembed instructions
+.Pp
+.El
+.Pp
+You don't have to specify this switch, unless you are going to debug the Ruby interpreter.
+.Pp
.It Fl -verbose
Enables verbose mode without printing version message at the
beginning. It sets the
@@ -428,6 +445,12 @@ Additional Ruby options.
e.g.
.Dl RUBYOPT="-w -Ke"
.Pp
+Note that RUBYOPT can contain only
+.Fl d , Fl E , Fl I , Fl K , Fl r , Fl T , Fl U , Fl v , Fl w , Fl W, Fl -debug ,
+.Fl -disable- Ns Ar FEATURE
+and
+.Fl -enable- Ns Ar FEATURE .
+.Pp
.It Ev RUBYPATH
A colon-separated list of directories that Ruby searches for
Ruby programs when the