mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
[Feature #17684] Declare --disable-gems is for debugging
This commit is contained in:
parent
3260602fa3
commit
d58daad37b
1 changed files with 2 additions and 2 deletions
4
ruby.c
4
ruby.c
|
@ -303,7 +303,7 @@ usage(const char *name, int help, int highlight, int columns)
|
||||||
M("--copyright", "", "print the copyright"),
|
M("--copyright", "", "print the copyright"),
|
||||||
M("--dump={insns|parsetree|...}[,...]", "",
|
M("--dump={insns|parsetree|...}[,...]", "",
|
||||||
"dump debug information. see below for available dump list"),
|
"dump debug information. see below for available dump list"),
|
||||||
M("--enable={gems|rubyopt|...}[,...]", ", --disable={gems|rubyopt|...}[,...]",
|
M("--enable={jit|rubyopt|...}[,...]", ", --disable={jit|rubyopt|...}[,...]",
|
||||||
"enable or disable features. see below for available features"),
|
"enable or disable features. see below for available features"),
|
||||||
M("--external-encoding=encoding", ", --internal-encoding=encoding",
|
M("--external-encoding=encoding", ", --internal-encoding=encoding",
|
||||||
"specify the default external or internal character encoding"),
|
"specify the default external or internal character encoding"),
|
||||||
|
@ -319,7 +319,7 @@ usage(const char *name, int help, int highlight, int columns)
|
||||||
M("parsetree_with_comment", "", "AST with comments"),
|
M("parsetree_with_comment", "", "AST with comments"),
|
||||||
};
|
};
|
||||||
static const struct message features[] = {
|
static const struct message features[] = {
|
||||||
M("gems", "", "rubygems (default: "DEFAULT_RUBYGEMS_ENABLED")"),
|
M("gems", "", "rubygems (only for debugging, default: "DEFAULT_RUBYGEMS_ENABLED")"),
|
||||||
M("did_you_mean", "", "did_you_mean (default: "DEFAULT_RUBYGEMS_ENABLED")"),
|
M("did_you_mean", "", "did_you_mean (default: "DEFAULT_RUBYGEMS_ENABLED")"),
|
||||||
M("rubyopt", "", "RUBYOPT environment variable (default: enabled)"),
|
M("rubyopt", "", "RUBYOPT environment variable (default: enabled)"),
|
||||||
M("frozen-string-literal", "", "freeze all string literals (default: disabled)"),
|
M("frozen-string-literal", "", "freeze all string literals (default: disabled)"),
|
||||||
|
|
Loading…
Reference in a new issue