     end
   end
 
-  defp get_negated("no-" <> rest = original, switches) do
-    cond do
-      (negated = get_option(rest)) && :boolean in List.wrap(switches[negated]) ->
-        {:negated, negated}
-      option = get_option(original) ->
-        {:default, option}
-      true ->
-        :unknown
-    end
-  end
-
-  defp get_negated(rest, _switches) do
-    if option = get_option(rest) do
-      {:default, option}
-    else
-      :unknown
-    end
-  end
-
   defp negative_number?(arg) do
     match?({_, ""}, Float.parse(arg))
   end

    end
  end

  defp tag_option(<<?-, option::binary>>, switches, _aliases) do
    get_negated(option, switches)
  end

  defp tag_option(option, _switches, aliases) when is_binary(option) do

      value_in_tail?(t) ->
        [h | t] = t
        {h, kinds, t}
      kinds == [] and strict ->
        {nil, kinds, t}
      kinds == [] ->
        {true, kinds, t}
      true ->
        {nil, [:invalid], t}
    end
