mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-12-02 12:01:17 +00:00
Fix --socks option deprecated info in command line args check.
This commit is contained in:
parent
6b5b71aefa
commit
13a47c66bf
@ -11,7 +11,6 @@ DEPRECATED = """
|
|||||||
--order
|
--order
|
||||||
--no-mouse
|
--no-mouse
|
||||||
--reverse
|
--reverse
|
||||||
--socks
|
|
||||||
--http2-priority
|
--http2-priority
|
||||||
--no-http2-priority
|
--no-http2-priority
|
||||||
--no-websocket
|
--no-websocket
|
||||||
@ -59,6 +58,7 @@ REPLACED = """
|
|||||||
-i
|
-i
|
||||||
-f
|
-f
|
||||||
--filter
|
--filter
|
||||||
|
--socks
|
||||||
"""
|
"""
|
||||||
|
|
||||||
REPLACEMENTS = {
|
REPLACEMENTS = {
|
||||||
@ -99,7 +99,8 @@ REPLACEMENTS = {
|
|||||||
"--replace": "--replacements",
|
"--replace": "--replacements",
|
||||||
"-i": "--intercept",
|
"-i": "--intercept",
|
||||||
"-f": "--view-filter",
|
"-f": "--view-filter",
|
||||||
"--filter": "--view-filter"
|
"--filter": "--view-filter",
|
||||||
|
"--socks": "--mode socks5"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user