mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Marked up command line options [ci skip]
This commit is contained in:
parent
d2070f2e45
commit
7704bbd640
1 changed files with 7 additions and 7 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue