summaryrefslogtreecommitdiff
path: root/src/plugins/irc/irc-command.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2016-01-03 09:01:43 +0100
committerSébastien Helleu <flashcode@flashtux.org>2016-01-03 09:01:43 +0100
commit3d0a7451d8c5f94c1857e89cef2297727fd5d330 (patch)
tree968ce2fa12be0b4432aa9404cb1e82bae68dbd8c /src/plugins/irc/irc-command.c
parentc12e1b244604be1b735fe02165b9e1194fe88f41 (diff)
downloadweechat-3d0a7451d8c5f94c1857e89cef2297727fd5d330.zip
irc: remove argument "clear" from command /cap (issue #8, closes #641)
Diffstat (limited to 'src/plugins/irc/irc-command.c')
-rw-r--r--src/plugins/irc/irc-command.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c
index 81f6e8873..ddb3bf553 100644
--- a/src/plugins/irc/irc-command.c
+++ b/src/plugins/irc/irc-command.c
@@ -6148,13 +6148,12 @@ irc_command_init ()
"cap",
N_("client capability negotiation"),
N_("ls || list || req|ack [<capability> [<capability>...]]"
- " || clear || end"),
+ " || end"),
N_(" ls: list the capabilities supported by the server\n"
" list: list the capabilities currently enabled\n"
" req: request a capability\n"
" ack: acknowledge capabilities which require client-side "
"acknowledgement\n"
- "clear: clear the capabilities currently enabled\n"
" end: end the capability negotiation\n"
"\n"
"Without argument, \"ls\" and \"list\" are sent.\n"
@@ -6169,13 +6168,11 @@ irc_command_init ()
"\n"
"Examples:\n"
" /cap\n"
- " /cap req multi-prefix\n"
- " /cap clear"),
+ " /cap req multi-prefix away-notify"),
"ls"
" || list"
" || req " IRC_COMMAND_CAP_SUPPORTED_COMPLETION
" || ack " IRC_COMMAND_CAP_SUPPORTED_COMPLETION
- " || clear"
" || end",
&irc_command_cap, NULL);
weechat_hook_command (