lib/cri/commands/basic_help.rb in cri-2.6.1 vs lib/cri/commands/basic_help.rb in cri-2.7.0

- old
+ new

@@ -12,11 +12,11 @@ flag :v, :verbose, 'show more detailed help' run do |opts, args, cmd| if cmd.supercommand.nil? - raise NoHelpAvailableError, - "No help available because the help command has no supercommand" + fail NoHelpAvailableError, + 'No help available because the help command has no supercommand' end is_verbose = opts.fetch(:verbose, false) resolved_cmd = args.inject(cmd.supercommand) do |acc, name|