summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2014-02-19 10:35:39 +0100
committerSebastien Helleu <flashcode@flashtux.org>2014-02-19 10:35:39 +0100
commit36641bc3d312f425a742d7610950772cc0483ea4 (patch)
tree9e84bd94f080dfddb7c1288484cacb907a80201d /src
parent194b362e23e65e7f7802b89efdd53a52292a0b9d (diff)
downloadweechat-36641bc3d312f425a742d7610950772cc0483ea4.zip
core: add missing option "rename" in /help filter and in command completion
Diffstat (limited to 'src')
-rw-r--r--src/core/wee-command.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/wee-command.c b/src/core/wee-command.c
index fa9061eb8..6dd77d99b 100644
--- a/src/core/wee-command.c
+++ b/src/core/wee-command.c
@@ -6755,6 +6755,7 @@ command_init ()
N_("list"
" || enable|disable|toggle [<name>]"
" || add <name> <buffer>[,<buffer>...] <tags> <regex>"
+ " || rename <name> <new_name>"
" || del <name>|-all"),
N_(" list: list all filters\n"
" enable: enable filters (filters are enabled by default)\n"
@@ -6762,6 +6763,7 @@ command_init ()
" toggle: toggle filters\n"
" name: filter name\n"
" add: add a filter\n"
+ " rename: rename a filter\n"
" del: delete a filter\n"
" -all: delete all filters\n"
" buffer: comma separated list of buffers where filter is active:\n"
@@ -6819,6 +6821,7 @@ command_init ()
" || disable %(filters_names)"
" || toggle %(filters_names)"
" || add %(filters_names) %(buffers_plugins_names)|*"
+ " || rename %(filters_names) %(filters_names)"
" || del %(filters_names)|-all",
&command_filter, NULL);
hook_command (