summaryrefslogtreecommitdiff
path: root/src/core
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2023-03-02 21:08:51 +0100
committerSébastien Helleu <flashcode@flashtux.org>2023-03-16 20:42:19 +0100
commit79f7c1cf83e166b42bb803df3b237ddde0fcec8c (patch)
treecd7e58b4063a91d2b73a99746e103172151ec192 /src/core
parentccc649d06cdf5a0f9f0b837df42ac50bddcc8ebd (diff)
downloadweechat-79f7c1cf83e166b42bb803df3b237ddde0fcec8c.zip
fset: hook command /key
When command /key is called without arguments, and if fset plugin is loaded, fset displays all key options (filter: `weechat.key*`).
Diffstat (limited to 'src/core')
-rw-r--r--src/core/wee-command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index ab3290ee4..0b1e98cd7 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -8356,7 +8356,7 @@ command_init ()
hook_command (
NULL, "key",
N_("bind/unbind keys"),
- N_("list|listdefault|listdiff [<context>]"
+ N_("[list|listdefault|listdiff] [<context>]"
" || bind <key> [<command> [<args>]]"
" || bindctxt <context> <key> [<command> [<args>]]"
" || unbind <key>"