Skip to content

Commit aaafe3f

Browse files
committed
Improve the description of the --verbose and --debug options
1 parent fa05b2e commit aaafe3f

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/shared/java/org/truffleruby/shared/options/OptionsCatalog.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,13 +39,13 @@ public class OptionsCatalog {
3939
public static final BooleanOptionDescription DEBUG = new BooleanOptionDescription(
4040
OptionCategory.USER,
4141
"ruby.debug",
42-
"Debug (configured by the -d Ruby option)",
42+
"Sets $DEBUG to this value (configured by the -d Ruby option)",
4343
new String[]{"-d"},
4444
false);
4545
public static final VerbosityOptionDescription VERBOSITY = new VerbosityOptionDescription(
4646
OptionCategory.USER,
4747
"ruby.verbose",
48-
"Verbosity (configured by the -v, -w, -W Ruby options)",
48+
"Sets $VERBOSE to this value (configured by the -v, -w, -W Ruby options)",
4949
new String[]{"-v", "-w", "-W"},
5050
Verbosity.FALSE);
5151
public static final StringOptionDescription SOURCE_ENCODING = new StringOptionDescription(

tool/options.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,8 @@ USER:
33
LOAD_PATHS: [[load-paths, -I], string-array, [], Load paths]
44
REQUIRED_LIBRARIES: [[required-libraries, -r], string-array, [], Required libraries]
55
WORKING_DIRECTORY: [[working-directory, -C], string, '', Interpreter will switch to this directory]
6-
DEBUG: [[debug, -d], boolean, false, Debug]
7-
VERBOSITY: [[verbose, -v, -w, -W], enum/verbosity, false, Verbosity]
6+
DEBUG: [[debug, -d], boolean, false, 'Sets $DEBUG to this value']
7+
VERBOSITY: [[verbose, -v, -w, -W], enum/verbosity, false, 'Sets $VERBOSE to this value']
88

99
SOURCE_ENCODING: [[source-encoding, -K], string, '', Source encoding]
1010
INTERNAL_ENCODING: [[internal-encoding, -E, -U], string, '', Internal encoding]

0 commit comments

Comments
 (0)