# File lib/brakeman/options.rb, line 20
    def get_options args, destructive = false
      options = {}

      parser = create_option_parser options

      if destructive
        parser.parse! args
      else
        parser.parse args
      end

      if options[:previous_results_json] and options[:output_files]
        options[:comparison_output_file] = options[:output_files].shift
      end

      return options, parser
    end