Update man and help: -d option set $VERBOSE to true

This commit is contained in:
Kouhei Yanagita 2024-11-06 10:47:15 +09:00 committed by Hiroshi SHIBATA
parent a2c12d3ffe
commit 0f45d0c484
Notes: git 2025-11-27 07:01:02 +00:00
2 changed files with 3 additions and 1 deletions

View File

@ -287,6 +287,8 @@ to the standard output.
.It Fl -debug
Turns on debug mode.
.Li "$DEBUG"
and
.Li "$VERBOSE"
will be set to true.
.Pp
.It Fl e Ar command

2
ruby.c
View File

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