summaryrefslogtreecommitdiff
path: root/doc/it/autogen
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/it/autogen
parentf68896fdd396d5ee0c97430757411a37f5c597d3 (diff)
downloadweechat-350938181b1bfb5b8854a9e0ace387fa10afb73d.zip
irc: add command /cap (closes #8)
Diffstat (limited to 'doc/it/autogen')
-rw-r--r--doc/it/autogen/user/irc_commands.asciidoc29
-rw-r--r--doc/it/autogen/user/irc_options.asciidoc2
2 files changed, 30 insertions, 1 deletions
diff --git a/doc/it/autogen/user/irc_commands.asciidoc b/doc/it/autogen/user/irc_commands.asciidoc
index 5501844d1..230159926 100644
--- a/doc/it/autogen/user/irc_commands.asciidoc
+++ b/doc/it/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`* connette ad uno o più server IRC::
diff --git a/doc/it/autogen/user/irc_options.asciidoc b/doc/it/autogen/user/irc_options.asciidoc
index f3131db62..1a50a36e6 100644
--- a/doc/it/autogen/user/irc_options.asciidoc
+++ b/doc/it/autogen/user/irc_options.asciidoc
@@ -508,7 +508,7 @@
** valori: 0 .. 1000000 (valore predefinito: `25`)
* [[option_irc.server_default.capabilities]] *irc.server_default.capabilities*
-** descrizione: `comma-separated list of client capabilities to enable for server if they are available; capabilities supported by WeeChat are: account-notify, away-notify, extended-join, multi-prefix, server-time, userhost-in-names (example: "away-notify,multi-prefix")`
+** descrizione: `comma-separated list of client capabilities to enable for server if they are available (see /help cap for a list of capabilities supported by WeeChat) (example: "away-notify,multi-prefix")`
** tipo: stringa
** valori: qualsiasi stringa (valore predefinito: `""`)