diff options
author | Deepesh Pathak <deepshpathak@gmail.com> | 2018-02-25 19:51:18 +0530 |
---|---|---|
committer | Deepesh Pathak <deepshpathak@gmail.com> | 2018-02-25 19:51:18 +0530 |
commit | 13a47c66bfa720f9ca454d6dc2d1085e2be0754d (patch) | |
tree | baa28728b5abf42aacf689450ca84c7a0b7a0b91 /mitmproxy/utils | |
parent | 6b5b71aefaffebeea9eb0003a25f039686c5b785 (diff) | |
download | mitmproxy-13a47c66bfa720f9ca454d6dc2d1085e2be0754d.tar.gz mitmproxy-13a47c66bfa720f9ca454d6dc2d1085e2be0754d.tar.bz2 mitmproxy-13a47c66bfa720f9ca454d6dc2d1085e2be0754d.zip |
Fix --socks option deprecated info in command line args check.
Diffstat (limited to 'mitmproxy/utils')
-rw-r--r-- | mitmproxy/utils/arg_check.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/mitmproxy/utils/arg_check.py b/mitmproxy/utils/arg_check.py index 873bef06..9c582c4c 100644 --- a/mitmproxy/utils/arg_check.py +++ b/mitmproxy/utils/arg_check.py @@ -11,7 +11,6 @@ DEPRECATED = """ --order --no-mouse --reverse ---socks --http2-priority --no-http2-priority --no-websocket @@ -59,6 +58,7 @@ REPLACED = """ -i -f --filter +--socks """ REPLACEMENTS = { @@ -99,7 +99,8 @@ REPLACEMENTS = { "--replace": "--replacements", "-i": "--intercept", "-f": "--view-filter", - "--filter": "--view-filter" + "--filter": "--view-filter", + "--socks": "--mode socks5" } |