From 43463a5cb665badd20c3e3ee672bdc745845e28b Mon Sep 17 00:00:00 2001 From: yugui Date: Tue, 11 Nov 2008 14:14:29 +0000 Subject: * 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 --- ChangeLog | 6 ++++++ man/ruby.1 | 23 +++++++++++++++++++++++ 2 files changed, 29 insertions(+) diff --git a/ChangeLog b/ChangeLog index 380fbe612f..b36dc40838 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Nov 11 23:02:27 2008 Yuki Sonoda (Yugui) + + * man/ruby.1 (RUBYOPT): wrote which option can appear. + (--yydebug): wrote "do not use". + (--dump): wrote "do not use". + Tue Nov 11 20:49:29 2008 Kazuhiro NISHIYAMA * configure.in: fix SEGV on Mac OS X 10.5.3 with pthread. diff --git a/man/ruby.1 b/man/ruby.1 index 730c7a9838..e2d0abdefd 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 -- cgit v1.2.3