aboutsummaryrefslogtreecommitdiffstats
path: root/libmproxy/cmdline.py
diff options
context:
space:
mode:
Diffstat (limited to 'libmproxy/cmdline.py')
-rw-r--r--libmproxy/cmdline.py10
1 files changed, 5 insertions, 5 deletions
diff --git a/libmproxy/cmdline.py b/libmproxy/cmdline.py
index d0e54dfe..5111fdd8 100644
--- a/libmproxy/cmdline.py
+++ b/libmproxy/cmdline.py
@@ -363,11 +363,6 @@ def common_options(parser):
help="Set transparent proxy mode."
)
group.add_argument(
- "-H", "--http-transparent",
- action="store_true", dest="http_transparent_proxy", default=False,
- help="Use the Host header to connect to server."
- )
- group.add_argument(
"-U", "--upstream",
action="store",
type=parse_server_spec,
@@ -375,6 +370,11 @@ def common_options(parser):
default=None,
help="Forward all requests to upstream proxy server: http://host[:port]"
)
+ group.add_argument(
+ "--spoof",
+ action="store_true", dest="spoof_mode", default=False,
+ help="Use Host header to connect to HTTP server."
+ )
group = parser.add_argument_group(
"Advanced Proxy Options",