diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-03 21:18:17 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2022-08-03 21:18:17 +0200 |
commit | 2bd3d32f0d9d067b13f5bc0a797d58d8fea45bc2 (patch) | |
tree | 7e7b8a7dc79049a08567bc55dc596af496d233cb /src/plugins | |
parent | 6b28cc001ff4613ea86113078b207881ab4126fc (diff) | |
download | weechat-2bd3d32f0d9d067b13f5bc0a797d58d8fea45bc2.zip |
irc: mention how to remove capability in /help cap
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/irc/irc-command.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/plugins/irc/irc-command.c b/src/plugins/irc/irc-command.c index 8b2692bcb..6dde1afab 100644 --- a/src/plugins/irc/irc-command.c +++ b/src/plugins/irc/irc-command.c @@ -6866,7 +6866,8 @@ irc_command_init () " || end"), N_(" ls: list the capabilities supported by the server\n" " list: list the capabilities currently enabled\n" - " req: request a capability\n" + " req: request a new capability or remove a capability " + "(if starting with \"-\", for example: \"-multi-prefix\")\n" " ack: acknowledge capabilities which require client-side " "acknowledgement\n" " end: end the capability negotiation\n" @@ -6883,8 +6884,14 @@ irc_command_init () "option irc.server.xxx.capabilities).\n" "\n" "Examples:\n" - " /cap\n" - " /cap req multi-prefix away-notify"), + " display supported and enabled capabilities:\n" + " /cap\n" + " request capabilities multi-prefix and away-notify:\n" + " /cap req multi-prefix away-notify\n" + " request capability extended-join, remove capability multi-prefix:\n" + " /cap req extended-join -multi-prefix\n" + " remove capability away-notify:\n" + " /cap req -away-notify"), "ls" " || list" " || req " IRC_COMMAND_CAP_SUPPORTED_COMPLETION "|%*" |