[前][次][番号順一覧][スレッド一覧]

ruby-changes:57052

From: Nobuyoshi <ko1@a...>
Date: Fri, 16 Aug 2019 00:29:03 +0900 (JST)
Subject: [ruby-changes:57052] Nobuyoshi Nakada: 7704bbd640 (master): Marked up command line options [ci skip]

https://git.ruby-lang.org/ruby.git/commit/?id=7704bbd640

From 7704bbd6401ad2261652fa8bf6f4bd45a0964ef7 Mon Sep 17 00:00:00 2001
From: Nobuyoshi Nakada <nobu@r...>
Date: Fri, 16 Aug 2019 00:28:16 +0900
Subject: Marked up command line options [ci skip]


diff --git a/doc/globals.rdoc b/doc/globals.rdoc
index 146b7fc..233e2bb 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 https://github.com/ruby/ruby/blob/trunk/doc/globals.rdoc#L30
                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
 
-- 
cgit v0.10.2


--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]