diff options
author | Maximilian Hils <git@maximilianhils.com> | 2014-03-14 00:02:00 +0100 |
---|---|---|
committer | Maximilian Hils <git@maximilianhils.com> | 2014-03-14 00:02:00 +0100 |
commit | a66913d4a30b2ce2dedc58afcf79ad77faead278 (patch) | |
tree | 55b58e1ce75e67fcfe3a8262f648b9b96e761b83 /libmproxy/cmdline.py | |
parent | f14eeef6539ac4f104dc37b37fbc74b9ea861965 (diff) | |
download | mitmproxy-a66913d4a30b2ce2dedc58afcf79ad77faead278.tar.gz mitmproxy-a66913d4a30b2ce2dedc58afcf79ad77faead278.tar.bz2 mitmproxy-a66913d4a30b2ce2dedc58afcf79ad77faead278.zip |
forward proxy -> upstream proxy
Diffstat (limited to 'libmproxy/cmdline.py')
-rw-r--r-- | libmproxy/cmdline.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index ed3a8f6b..22db25fb 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -255,9 +255,9 @@ def common_options(parser): help = "Address to bind proxy to (defaults to all interfaces)" ) group.add_argument( - "-F", - action="store", type=parse_server_spec, dest="forward_proxy", default=None, - help="Proxy to unconditionally forward to: http[s]://host[:port]" + "-U", + action="store", type=parse_server_spec, dest="upstream_proxy", default=None, + help="Forward all requests to upstream proxy server: http[s]://host[:port]" ) group.add_argument( "-n", @@ -272,7 +272,7 @@ def common_options(parser): group.add_argument( "-R", action="store", type=parse_server_spec, dest="reverse_proxy", default=None, - help="Reverse proxy to upstream server: http[s]://host[:port]" + help="Forward all requests to upstream HTTP server: http[s][2http[s]]://host[:port]" ) group.add_argument( "-T", @@ -299,9 +299,9 @@ def common_options(parser): help="Override the HTTP request form sent upstream by the proxy" ) group.add_argument( - "--upstream-server", dest="manual_upstream_server", default=None, + "--destination-server", dest="manual_destination_server", default=None, action="store", type=parse_server_spec, - help="Override the destination server all requests are sent to." + help="Override the destination server all requests are sent to: http[s][2http[s]]://host[:port]" ) |