mirror of
https://github.com/Grasscutters/mitmproxy.git
synced 2024-11-26 18:18:25 +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
|
||||
--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"
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user