1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-25 04:16:38 +02:00

doc/api: add changes on functions command and command_options introduced in version 4.0.0

This commit is contained in:
Sébastien Helleu
2024-04-23 22:54:00 +02:00
parent d0f0a7834d
commit fb9d677020
6 changed files with 51 additions and 16 deletions
+1 -1
View File
@@ -2278,7 +2278,7 @@ def command_options(buffer: str, command: str, options: Dict[str, str]) -> int:
::
# example: allow any command except /exec
rc = weechat.command("", "/some_command arguments", {"commands": "*,!exec"})
rc = weechat.command_options("", "/some_command arguments", {"commands": "*,!exec"})
"""
...