summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2014-04-05 11:51:03 +0200
committerSébastien Helleu <flashcode@flashtux.org>2014-04-05 11:51:03 +0200
commitcd6eaf42ba88468126f26795c0328416feb3eb4c (patch)
tree316492df2039e8c3f76fdbceb0a368aaa4d5979d /src
parenta44a1eab199c6174a7bb6d935034ea6fb946f6c3 (diff)
downloadweechat-cd6eaf42ba88468126f26795c0328416feb3eb4c.zip
core: fix completion of /buffer clear
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-command.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index 20edfbc3b..8e7c9bb0e 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -6712,7 +6712,8 @@ command_init ()
" /buffer +1\n"
" jump to last buffer number:\n"
" /buffer +"),
- "clear -merged|-all|%(buffers_numbers)|%(buffers_plugins_names)"
+ "clear -merged|-all|%(buffers_numbers)|%(buffers_plugins_names) "
+ "%(buffers_numbers)|%(buffers_plugins_names)|%*"
" || move %(buffers_numbers)"
" || swap %(buffers_numbers)"
" || merge %(buffers_numbers)"