# File lib/pdfkit/wkhtmltopdf.rb, line 13
    def normalize_options
      # TODO(cdwort,sigmavirus24): Make this method idempotent in a future release so it can be called repeatedly
      normalized_options = {}
  
      @options.each do |key, value|
        next if !value
  
        # The actual option for wkhtmltopdf
        normalized_key = normalize_arg key
        normalized_key = "--#{normalized_key}" unless SPECIAL_OPTIONS.include?(normalized_key)
  
        # If the option is repeatable, attempt to normalize all values
        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 # Otherwise, just normalize it like usual
          normalized_options[normalized_key] = normalize_value(value)
        end
      end
  
      @options = normalized_options
    end