summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-16 00:28:16 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2019-08-16 00:28:22 +0900
commit7704bbd6401ad2261652fa8bf6f4bd45a0964ef7 (patch)
tree205c17ed833bb3c2afa74b9cf0ab9e90c42151b4 /doc
parentd2070f2e454a6d2207fedf48525269ec04fbfa0e (diff)
Marked up command line options [ci skip]
Diffstat (limited to 'doc')
-rw-r--r--doc/globals.rdoc14
1 files changed, 7 insertions, 7 deletions
diff --git a/doc/globals.rdoc b/doc/globals.rdoc
index 146b7fc34f..233e2bb085 100644
--- a/doc/globals.rdoc
+++ b/doc/globals.rdoc
@@ -30,23 +30,23 @@ $LOAD_PATH:: Load path for searching Ruby scripts and extension libraries used
the path the original Kernel#require method would load.
$LOADED_FEATURES:: The array contains the module names loaded by require.
Aliased to $".
-$DEBUG:: The debug flag, which is set by the -d switch. Enabling debug
+$DEBUG:: The debug flag, which is set by the <tt>-d</tt> switch. Enabling debug
output prints each exception raised to $stderr (but not its
backtrace). Setting this to a true value enables debug output as
- if -d were given on the command line. Setting this to a false
+ if <tt>-d</tt> were given on the command line. Setting this to a false
value disables debug output. Aliased to $-d.
$FILENAME:: Current input filename from ARGF. Same as ARGF.filename.
$stderr:: The current standard error output.
$stdin:: The current standard input.
$stdout:: The current standard output.
-$VERBOSE:: The verbose flag, which is set by the -w or -v switch. Setting
- this to a true value enables warnings as if -w or -v were given
+$VERBOSE:: The verbose flag, which is set by the <tt>-w</tt> or <tt>-v</tt> switch.
+ Setting this to a true value enables warnings as if <tt>-w</tt> or <tt>-v</tt> were given
on the command line. Setting this to +nil+ disables warnings,
including from Kernel#warn. Aliased to $-v and $-w.
-$-a:: True if option -a is set. Read-only variable.
+$-a:: True if option <tt>-a</tt> is set. Read-only variable.
$-i:: In in-place-edit mode, this variable holds the extension, otherwise +nil+.
-$-l:: True if option -l is set. Read-only variable.
-$-p:: True if option -p is set. Read-only variable.
+$-l:: True if option <tt>-l</tt> is set. Read-only variable.
+$-p:: True if option <tt>-p</tt> is set. Read-only variable.
== Pre-defined global constants