From 1f98c7be4f3fa6eb56e7760fb99dfaaadbf0f541 Mon Sep 17 00:00:00 2001 From: Maximilian Hils Date: Thu, 3 Aug 2017 16:44:17 +0200 Subject: [PATCH] improve docstring for rawtcp --- mitmproxy/options.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/mitmproxy/options.py b/mitmproxy/options.py index 20151c194..1ecdd6a63 100644 --- a/mitmproxy/options.py +++ b/mitmproxy/options.py @@ -173,7 +173,7 @@ class Options(optmanager.OptManager): ) self.add_option( "server", bool, True, - "Start a proxy server." + "Start a proxy server. Enabled by default." ) self.add_option( "server_replay_nopop", bool, False, @@ -406,8 +406,9 @@ class Options(optmanager.OptManager): ) self.add_option( "rawtcp", bool, False, - "Enable/disable experimental raw TCP support. " - "Disabled by default. " + "Enable/disable experimental raw TCP support. TCP connections starting with non-ascii " + "bytes are treated as if they would match tcp_hosts. The heuristic is very rough, use " + "with caution. Disabled by default. " ) self.add_option(