# File lib/rspec/core/option_parser.rb, line 14
    def parse!(args)
      return {} if args.empty?
      if args.include?("--formatter")
        RSpec.deprecate("the --formatter option", "-f or --format")
        args[args.index("--formatter")] = "--format"
      end
      options = args.delete('--tty') ? {:tty => true} : {}
      parser(options).parse!(args)
      options
    end