parse_options method in pry/cli.rb