class RSpec::Core::Parser

def parse!(args)

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 = {}
  parser(options).parse!(args)
  options
end