aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/command.py
diff options
context:
space:
mode:
Diffstat (limited to 'mitmproxy/command.py')
-rw-r--r--mitmproxy/command.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/mitmproxy/command.py b/mitmproxy/command.py
index d813568f..e01c767c 100644
--- a/mitmproxy/command.py
+++ b/mitmproxy/command.py
@@ -192,12 +192,9 @@ class CommandManager(mitmproxy.types._CommandBase):
)
)
- remhelp = []
+ remhelp = [] # type: typing.List[str]
for x in params:
remt = mitmproxy.types.CommandTypes.get(x, None)
- if not x:
- remhelp = []
- break
remhelp.append(remt.display)
return parse, remhelp