class Thor::Group
def handle_argument_error(command, error, args, arity) #:nodoc:
def handle_argument_error(command, error, args, arity) #:nodoc: msg = "#{basename} #{command.name} takes #{arity} argument" msg << 's' if arity > 1 msg << ', but it should not.' fail error, msg end