From 22708be0d71ab5ed5d28d7951fcf670da38c366f Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Tue, 12 Mar 2024 13:44:47 -0700 Subject: Revisions for #10198 This fixes some inconsistencies introduced by that PR. --- ruby.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'ruby.c') diff --git a/ruby.c b/ruby.c index ee58d0247e..fb9c77fdd7 100644 --- a/ruby.c +++ b/ruby.c @@ -344,9 +344,9 @@ usage(const char *name, int help, int highlight, int columns) M("-W[level=2|:category]", "", "Set warning flag ($-W):\n" "0 for silent; 1 for moderate; 2 for verbose."), M("-x[dirpath]", "", "Execute Ruby code starting from a #!ruby line."), - M("--jit", "", "Enable JIT for platform; same as " PLATFORM_JIT_OPTION "."), + M("--jit", "", "Enable JIT for the platform; same as " PLATFORM_JIT_OPTION "."), #if USE_YJIT - M("--yjit", "", "enable in-process JIT compiler."), + M("--yjit", "", "Enable in-process JIT compiler."), #endif #if USE_RJIT M("--rjit", "", "Enable pure-Ruby JIT compiler (experimental)."), @@ -382,8 +382,8 @@ usage(const char *name, int help, int highlight, int columns) M("gems", "", "Rubygems (only for debugging, default: "DEFAULT_RUBYGEMS_ENABLED")."), M("error_highlight", "", "error_highlight (default: "DEFAULT_RUBYGEMS_ENABLED")."), M("did_you_mean", "", "did_you_mean (default: "DEFAULT_RUBYGEMS_ENABLED")."), - M("syntax_suggest", "", "syntax_suggest (default: "DEFAULT_RUBYGEMS_ENABLED"),"), - M("rubyopt", "", "RUBYOPT environment variable (default: enabled),"), + M("syntax_suggest", "", "syntax_suggest (default: "DEFAULT_RUBYGEMS_ENABLED")."), + M("rubyopt", "", "RUBYOPT environment variable (default: enabled)."), M("frozen-string-literal", "", "Freeze all string literals (default: disabled)."), #if USE_YJIT M("yjit", "", "In-process JIT compiler (default: disabled)."), -- cgit v1.2.3