mirror of
https://github.com/weechat/weechat.git
synced 2026-06-24 20:06:38 +02:00
doc/api: fix Python example of function command_options
This commit is contained in:
@@ -2294,7 +2294,7 @@ def command_options(buffer: str, command: str, options: Dict[str, str]) -> int:
|
||||
::
|
||||
|
||||
# example: allow any command except /exec
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"})
|
||||
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec", "delay": "2000"})
|
||||
"""
|
||||
...
|
||||
|
||||
|
||||
Reference in New Issue
Block a user