aboutsummaryrefslogtreecommitdiffstats
path: root/mitmproxy/tools
diff options
context:
space:
mode:
authorAldo Cortesi <aldo@corte.si>2017-06-13 09:47:50 +1200
committerAldo Cortesi <aldo@corte.si>2017-06-13 09:47:50 +1200
commit0fc24857e1786973b56a40afef8e64abffbf1c98 (patch)
tree22a8d84c0642f33e928741f96e4e8cc91ef5ba32 /mitmproxy/tools
parentd95f28e6bf581c65a06d410137160a50e584dbfd (diff)
downloadmitmproxy-0fc24857e1786973b56a40afef8e64abffbf1c98.tar.gz
mitmproxy-0fc24857e1786973b56a40afef8e64abffbf1c98.tar.bz2
mitmproxy-0fc24857e1786973b56a40afef8e64abffbf1c98.zip
core: set command can now take multiple values
These are joined together with spaces before execution. This is a big convenience boost on the command-prompt.
Diffstat (limited to 'mitmproxy/tools')
-rw-r--r--mitmproxy/tools/console/master.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mitmproxy/tools/console/master.py b/mitmproxy/tools/console/master.py
index ce4e4d9d..92e8b7a2 100644
--- a/mitmproxy/tools/console/master.py
+++ b/mitmproxy/tools/console/master.py
@@ -238,7 +238,7 @@ class ConsoleAddon:
"""
Prompt the user to edit a command with a (possilby empty) starting value.
"""
- signals.status_prompt_command.send(partial=" ".join(partial) + " ") # type: ignore
+ signals.status_prompt_command.send(partial=" ".join(partial)) # type: ignore
@command.command("console.view.commands")
def view_commands(self) -> None: