def normalize_options
normalized_options = {}
@options.each do |key, value|
next if !value
normalized_key = normalize_arg key
normalized_key = "--#{normalized_key}" unless SPECIAL_OPTIONS.include?(normalized_key)
if REPEATABLE_OPTIONS.include? normalized_key
normalize_repeatable_value(normalized_key, value) do |normalized_unique_key, normalized_value|
normalized_options[normalized_unique_key] = normalized_value
end
else
normalized_options[normalized_key] = normalize_value(value)
end
end
@options = normalized_options
end