diff --git a/mitmproxy/utils/arg_check.py b/mitmproxy/utils/arg_check.py index 44ef971ac..e7de8a703 100644 --- a/mitmproxy/utils/arg_check.py +++ b/mitmproxy/utils/arg_check.py @@ -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",