summaryrefslogtreecommitdiff
path: root/doc/en/autogen/user/irc_commands.asciidoc
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2015-08-24 10:02:38 +0200
committerSébastien Helleu <flashcode@flashtux.org>2015-08-24 10:02:38 +0200
commit350938181b1bfb5b8854a9e0ace387fa10afb73d (patch)
tree99bcd7ca41e47a4fdb65f7c4017aa51424ec14d4 /doc/en/autogen/user/irc_commands.asciidoc
parentf68896fdd396d5ee0c97430757411a37f5c597d3 (diff)
downloadweechat-350938181b1bfb5b8854a9e0ace387fa10afb73d.zip
irc: add command /cap (closes #8)
Diffstat (limited to 'doc/en/autogen/user/irc_commands.asciidoc')
-rw-r--r--doc/en/autogen/user/irc_commands.asciidoc29
1 files changed, 29 insertions, 0 deletions
diff --git a/doc/en/autogen/user/irc_commands.asciidoc b/doc/en/autogen/user/irc_commands.asciidoc
index 0554e74e7..dc988aa6f 100644
--- a/doc/en/autogen/user/irc_commands.asciidoc
+++ b/doc/en/autogen/user/irc_commands.asciidoc
@@ -84,6 +84,35 @@ channel: channel name
Without argument, this command display ban list for current channel.
----
+[[command_irc_cap]]
+[command]*`cap`* client capability negotiation::
+
+----
+/cap ls
+ list
+ req|ack [<capability> [<capability>...]]
+ clear
+ end
+
+ ls: list the capabilities supported by the server
+ list: list the capabilities currently enabled
+ req: request a capability
+ ack: acknowledge capabilities which require client-side acknowledgement
+clear: clear the capabilities currently enabled
+ end: end the capability negotiation
+
+Without argument, "ls" and "list" are sent.
+
+Capabilities supported by WeeChat are: account-notify, away-notify, extended-join, multi-prefix, server-time, userhost-in-names.
+
+The capabilities to automatically enable on servers can be set in option irc.server_default.capabilities (or by server in option irc.server.xxx.capabilities).
+
+Examples:
+ /cap
+ /cap req multi-prefix
+ /cap clear
+----
+
[[command_irc_connect]]
[command]*`connect`* connect to IRC server(s)::