summaryrefslogtreecommitdiffstats
path: root/ruby.1
diff options
context:
space:
mode:
authoryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-17 14:52:14 +0000
committeryugui <yugui@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-04-17 14:52:14 +0000
commitfb6acef3191046e2f76f0c05015421979e5a6c9e (patch)
treebc5849483bd2faad8cf89ddad121a430f84662c4 /ruby.1
parent4d0da9782155bc54b1080a26b56e2776ad40bda6 (diff)
downloadruby-fb6acef3191046e2f76f0c05015421979e5a6c9e.tar.gz
ruby-fb6acef3191046e2f76f0c05015421979e5a6c9e.tar.xz
ruby-fb6acef3191046e2f76f0c05015421979e5a6c9e.zip
* ruby.1: added --{disable|enable}-{rubyopt|all}.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@16063 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ruby.1')
-rw-r--r--ruby.125
1 files changed, 22 insertions, 3 deletions
diff --git a/ruby.1 b/ruby.1
index 631087486..d4df7ff97 100644
--- a/ruby.1
+++ b/ruby.1
@@ -23,7 +23,7 @@
.Op Fl i Ns Op Ar extension
.Op Fl r Ar library
.Op Fl x Ns Op Ar directory
-.Op Fl -disable-gems
+.Op - Ns Bro Cm enable Ns | Ns Cm disable Brc Ns - Ns Ar FEATURE
.Op Fl -verbose
.Op Fl -
.Op Ar program_file
@@ -337,9 +337,28 @@ 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.
.Pp
+.It Fl -disable- Ns Ar FEATURE
+.It Fl -enable- Ns Ar FEATURE
+Disables (or enables) the specified
+.Ar FEATURE Ns
+\&.
+.Pp
.It Fl -disable-gems
-Disables RubyGems libraries. By default, Ruby will load the latest
-version of each installed gem.
+.It Fl -enable-gems
+Disables (or enables) RubyGems libraries. By default, Ruby will load the latest
+version of each installed gem. The
+.Li Gem::Enabled
+constant is true if RubyGems is enabled, false if otherwise.
+.Pp
+.It Fl -disable-rubyopt
+.It Fl -enable-rubyopt
+Ignores (or considers) the
+.Ev RUBYOPT
+environment variable. By default, Ruby considers the variable.
+.Pp
+.It Fl -disable-all
+.It Fl -enable-all
+Disables (or enables) all features.
.Pp
.It Fl -verbose
Enables verbose mode without printing version message at the