class Thor::Task

def handle_argument_error?(instance, error, caller)

def handle_argument_error?(instance, error, caller)
  not_debugging?(instance) && error.message =~ /wrong number of arguments/ &&
    sans_backtrace(error.backtrace, caller).empty?
end