class Thor::Group

def handle_argument_error(command, error, _args, arity) #:nodoc:

:nodoc:
def handle_argument_error(command, error, _args, arity) #:nodoc:
  msg = "#{basename} #{command.name} takes #{arity} argument".dup
  msg << "s" if arity > 1
  msg << ", but it should not."
  raise error, msg
end