Skip to content

Commit 0f45d0c

Browse files
kyanagihsbt
authored andcommitted
Update man and help: -d option set $VERBOSE to true
1 parent a2c12d3 commit 0f45d0c

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

man/ruby.1

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -287,6 +287,8 @@ to the standard output.
287287
.It Fl -debug
288288
Turns on debug mode.
289289
.Li "$DEBUG"
290+
and
291+
.Li "$VERBOSE"
290292
will be set to true.
291293
.Pp
292294
.It Fl e Ar command

ruby.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -326,7 +326,7 @@ usage(const char *name, int help, int highlight, int columns)
326326
M("-a", "", "Split each input line ($_) into fields ($F)."),
327327
M("-c", "", "Check syntax (no execution)."),
328328
M("-Cdirpath", "", "Execute program in specified directory."),
329-
M("-d", ", --debug", "Set debugging flag ($DEBUG) to true."),
329+
M("-d", ", --debug", "Set debugging flag ($DEBUG) and $VERBOSE to true."),
330330
M("-e 'code'", "", "Execute given Ruby code; multiple -e allowed."),
331331
M("-Eex[:in]", ", --encoding=ex[:in]", "Set default external and internal encodings."),
332332
M("-Fpattern", "", "Set input field separator ($;); used with -a."),

0 commit comments

Comments
 (0)