summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYla Aioi <[email protected]>2023-06-05 12:05:58 +0900
committer<[email protected]>2023-06-05 12:05:58 +0900
commit3fe0f8c68bf2cd861b7061de8a662885e5aa5234 ()
tree83f4490e40a5418bf938765ad20032954f029d84
parent3a4302c742622dda9fbaeeb90fd42364badc423d (diff)
[Bug #19685]: Add `-y` and `--yydebug` document to `--help`
Add -y option information to `--help` Fix a warning on the man page
Notes: Merged: https://.com/ruby/ruby/pull/7870 Merged-By: nobu <[email protected]>
-rw-r--r--man/ruby.12
-rw-r--r--ruby.c1
2 files changed, 2 insertions, 1 deletions
@@ -388,7 +388,7 @@ before executing script.
.Pp
.It Fl y
.It Fl -yydebug
-DO NOT USE.
.Pp
Turns on compiler debug mode. Ruby will print a bunch of internal
state messages during compilation. Only specify this switch you are going to
@@ -306,6 +306,7 @@ usage(const char *name, int help, int highlight, int columns)
M("--backtrace-limit=num", "", "limit the maximum length of backtrace"),
M("--verbose", "", "turn on verbose mode and disable script from stdin"),
M("--version", "", "print the version number, then exit"),
M("--help", "", "show this message, -h for short message"),
};
static const struct ruby_opt_message dumps[] = {