From d58daad37bd5fd09c7ff74be17074fc51faac8d3 Mon Sep 17 00:00:00 2001 From: "NARUSE, Yui" Date: Wed, 17 Mar 2021 15:36:05 +0900 Subject: [PATCH] [Feature #17684] Declare --disable-gems is for debugging --- ruby.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruby.c b/ruby.c index 113e895bb2..4023177028 100644 --- a/ruby.c +++ b/ruby.c @@ -303,7 +303,7 @@ usage(const char *name, int help, int highlight, int columns) M("--copyright", "", "print the copyright"), M("--dump={insns|parsetree|...}[,...]", "", "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"), M("--external-encoding=encoding", ", --internal-encoding=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"), }; 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("rubyopt", "", "RUBYOPT environment variable (default: enabled)"), M("frozen-string-literal", "", "freeze all string literals (default: disabled)"),