class Thor::Options
def check_unknown!
def check_unknown! unless ARGV.include?("exec") || ARGV.include?("config") raise UnknownArgumentError, "Unknown switches '#{@unknown.join(', ')}'" unless @unknown.empty? end end
def check_unknown! unless ARGV.include?("exec") || ARGV.include?("config") raise UnknownArgumentError, "Unknown switches '#{@unknown.join(', ')}'" unless @unknown.empty? end end