diff options
| author | Aldo Cortesi <aldo@corte.si> | 2013-12-08 01:05:33 -0800 |
|---|---|---|
| committer | Aldo Cortesi <aldo@corte.si> | 2013-12-08 01:05:33 -0800 |
| commit | 73791f986a4b4dabd984b7fa7891801d71ab52dc (patch) | |
| tree | a589b73f03ef7cd5d52c36e84cbe2134b1972c3e /libmproxy/cmdline.py | |
| parent | 4816cae98cca649676216ba88ee7d9595787005a (diff) | |
| parent | 65d1ed1b3c54985b4b4b0bec919de0ad7a86e342 (diff) | |
| download | mitmproxy-73791f986a4b4dabd984b7fa7891801d71ab52dc.tar.gz mitmproxy-73791f986a4b4dabd984b7fa7891801d71ab52dc.tar.bz2 mitmproxy-73791f986a4b4dabd984b7fa7891801d71ab52dc.zip | |
Merge pull request #166 from ghjc/forward-proxy
Added -F http[s]://server:port option that allows MITM to forward traffi...
Diffstat (limited to 'libmproxy/cmdline.py')
| -rw-r--r-- | libmproxy/cmdline.py | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py index a394d7f3..5e120ce1 100644 --- a/libmproxy/cmdline.py +++ b/libmproxy/cmdline.py @@ -190,6 +190,11 @@ def common_options(parser): help="Reverse proxy to upstream server: http[s]://host[:port]" ) parser.add_argument( + "-F", + action="store", dest="forward_proxy", default=None, + help="Proxy to unconditionally forward to: http[s]://host[:port]" + ) + parser.add_argument( "-q", action="store_true", dest="quiet", help="Quiet." |
