Upon --replace, suggest --modify-body / --modify-headers
Else the user sees ``` --replace is deprecated. Please use `--replacements` instead. mitmdump: error: unrecognized arguments: --replace ``` and then ``` mitmdump: error: unrecognized arguments: --replacements --replacements is deprecated. Please use `--modify-body` or `--modify-headers` instead. ``` and feels silly
This commit is contained in:
parent
ad3995f4f0
commit
b290594d93
|
@ -97,7 +97,7 @@ REPLACEMENTS = {
|
|||
"--cert": "--certs",
|
||||
"--insecure": "--ssl-insecure",
|
||||
"-c": "-C",
|
||||
"--replace": "--replacements",
|
||||
"--replace": ["--modify-body", "--modify-headers"],
|
||||
"--replacements": ["--modify-body", "--modify-headers"],
|
||||
"-i": "--intercept",
|
||||
"-f": "--view-filter",
|
||||
|
|
Loading…
Reference in New Issue