lib/bolt/bolt_option_parser.rb in bolt-1.47.0 vs lib/bolt/bolt_option_parser.rb in bolt-1.48.0

- old
+ new

@@ -125,11 +125,11 @@ banner: SECRET_HELP } end when 'task' case action when 'run' - { flags: ACTION_OPTS + %w[params tmpdir], + { flags: ACTION_OPTS + %w[params tmpdir noop], banner: TASK_RUN_HELP } when 'show' { flags: OPTIONS[:global] + OPTIONS[:global_config_setters], banner: TASK_SHOW_HELP } else @@ -625,10 +625,10 @@ "'all' all nodes that were part of the last run.", "'failure' nodes that failed in the last run.", "'success' nodes that succeeded in the last run.") do |rerun| @options[:rerun] = rerun end - define('--noop', 'Execute a task that supports it in noop mode') do |_| + define('--noop', 'See what changes Bolt will make without actually executing the changes') do |_| @options[:noop] = true end define('--description DESCRIPTION', 'Description to use for the job') do |description| @options[:description] = description