diff --git a/lib/rggen/core/options.rb b/lib/rggen/core/options.rb index 7fcb56a..5746e1c 100644 --- a/lib/rggen/core/options.rb +++ b/lib/rggen/core/options.rb @@ -105,7 +105,7 @@ def define_options(parser) option.long_option '--no-default-plugins' option.default false option.action { |_, options| options[:no_default_plugins] = true } - option.description 'Do not load default plugins' + option.description 'Not load default plugins' end Options.add_option(:plugins) do |option| @@ -175,7 +175,7 @@ def option.merge_enabled_writers(value, options, option_name) option.action do |_value, options| options[:runner] = VersionPrinter.new(true) end - option.description 'Load a setup Ruby file and display verbose version' + option.description 'Display verbose version' end Options.add_option(:help) do |option| diff --git a/spec/rggen/core/cli_spec.rb b/spec/rggen/core/cli_spec.rb index a159021..c800846 100644 --- a/spec/rggen/core/cli_spec.rb +++ b/spec/rggen/core/cli_spec.rb @@ -161,7 +161,7 @@ def create_blank_file(_) let(:help_message) do <<~'HELP' Usage: rggen [options] register_map_files - --no-default-plugins Do not load default plugins + --no-default-plugins Not load default plugins --plugin PLUGIN[:VERSION] Load a RgGen plugin (specify plugin name or path) -c, --configuration FILE Specify a configuration file -o, --output DIRECTORY Specify the directory where generated file(s) will be written @@ -171,7 +171,7 @@ def create_blank_file(_) --print-verbose-info Print verbose information when an error occurs --print-backtrace Print backtrace when an error occurs -v, --version Display version - --verbose-version Load a setup Ruby file and display verbose version + --verbose-version Display verbose version -h, --help Display this message HELP end