mirror of
https://github.com/vee1e/mitmproxy.git
synced 2026-09-01 18:27:18 +00:00
Docs
This commit is contained in:
parent
9f78c36ec4
commit
e64947d3bc
1 changed files with 4 additions and 2 deletions
|
|
@ -279,11 +279,13 @@ class ConsoleAddon:
|
|||
|
||||
@command.command("console.command.set")
|
||||
def console_command_set(self, option: str) -> None:
|
||||
"""Doc"""
|
||||
"""
|
||||
Prompt the user to set an option of the form "key[=value]".
|
||||
"""
|
||||
option_value = getattr(self.master.options, option, None)
|
||||
current_value = option_value if option_value else ""
|
||||
self.master.commands.call(
|
||||
"console.command set {}={}".format(option, current_value)
|
||||
"console.command set %s=%s" % (option, current_value)
|
||||
)
|
||||
|
||||
@command.command("console.view.keybindings")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue