class Typhoeus::EasyFactory

def provide_help(option)

def provide_help(option)
  renamed = {
    :auth_method => :httpauth,
    :connect_timeout => :connecttimeout,
    :disable_ssl_host_verification => :ssl_verifyhost,
    :disable_ssl_peer_verification => :ssl_verifypeer,
    :encoding => :accept_encoding,
    :follow_location => :followlocation,
    :max_redirects => :maxredirs,
    :password => :userpwd,
    :proxy_auth_method => :proxyauth,
    :proxy_password => :proxyuserpwd,
    :proxy_type => :proxytype,
    :proxy_username => :proxyuserpwd,
    :ssl_cacert => :cainfo,
    :ssl_capath => :capath,
    :ssl_cert => :sslcert,
    :ssl_cert_type => :sslcerttype,
    :ssl_key => :sslkey,
    :ssl_key_password => :keypasswd,
    :ssl_key_type => :sslkeytype,
    :ssl_version => :sslversion,
    :username => :userpwd
  }
  removed = [:cache_key_basis, :cache_timout, :user_agent]
  if new_option = renamed[option.to_sym]
    "\nPlease try #{new_option} instead of #{option}." if new_option
  elsif removed.include?(option.to_sym)
    "\nThe option #{option} was removed."
  end
end