aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/tools')
-rw-r--r--mitmproxy/tools/console/master.py1
-rw-r--r--mitmproxy/tools/dump.py1
-rw-r--r--mitmproxy/tools/web/master.py1
3 files changed, 3 insertions, 0 deletions
diff --git a/mitmproxy/tools/console/master.py b/mitmproxy/tools/console/master.py
index 909c83da..92959256 100644
--- a/mitmproxy/tools/console/master.py
+++ b/mitmproxy/tools/console/master.py
@@ -203,6 +203,7 @@ class ConsoleState(state.State):
class Options(mitmproxy.options.Options):
def __init__(
self,
+ *, # all args are keyword-only.
eventlog: bool = False,
follow: bool = False,
intercept: bool = False,
diff --git a/mitmproxy/tools/dump.py b/mitmproxy/tools/dump.py
index e92482f3..72895102 100644
--- a/mitmproxy/tools/dump.py
+++ b/mitmproxy/tools/dump.py
@@ -18,6 +18,7 @@ class DumpError(Exception):
class Options(options.Options):
def __init__(
self,
+ *, # all args are keyword-only.
keepserving: bool = False,
filtstr: Optional[str] = None,
flow_detail: int = 1,
diff --git a/mitmproxy/tools/web/master.py b/mitmproxy/tools/web/master.py
index 619582f3..9cf17faf 100644
--- a/mitmproxy/tools/web/master.py
+++ b/mitmproxy/tools/web/master.py
@@ -94,6 +94,7 @@ class WebState(state.State):
class Options(options.Options):
def __init__(
self,
+ *, # all args are keyword-only.
intercept: Optional[str] = None,
wdebug: bool = bool,
wport: int = 8081,