lib/bolt/bolt_option_parser.rb in bolt-3.8.0 vs lib/bolt/bolt_option_parser.rb in bolt-3.8.1

- old
+ new

@@ -994,11 +994,11 @@ end separator "\n#{self.class.colorize(:cyan, 'Display options')}" define('--filter FILTER', 'Filter tasks and plans by a matching substring.') do |filter| unless /^[a-z0-9_:]+$/.match(filter) - msg = "Illegal characters in filter string '#{filter}'. Filters must match a legal "\ - "task or plan name." + msg = "Illegal characters in filter string '#{filter}'. Filters can "\ + "only include lowercase letters, numbers, underscores, and colons." raise Bolt::CLIError, msg end @options[:filter] = filter end define('--format FORMAT', 'Output format to use: human, json, or rainbow.') do |format|