1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-26 12:56:37 +02:00

irc: mention how to remove capability in /help cap

This commit is contained in:
Sébastien Helleu
2022-08-03 21:18:17 +02:00
parent 6b28cc001f
commit 2bd3d32f0d
22 changed files with 350 additions and 108 deletions
+10 -3
View File
@@ -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 "|%*"