summaryrefslogtreecommitdiff
path: root/doc/en/autogen
diff options
context:
space:
mode:
authorSebastien Helleu <flashcode@flashtux.org>2009-02-02 16:49:31 +0100
committerSebastien Helleu <flashcode@flashtux.org>2009-02-02 16:49:31 +0100
commit10b356d97e5720d4a64eb8f31c65898522da652c (patch)
tree33c52a3137d03ea913aad84a4925d8bc762afca2 /doc/en/autogen
parent78f92659375c2d0c1a747f23c37c409cb778cbfa (diff)
downloadweechat-10b356d97e5720d4a64eb8f31c65898522da652c.zip
Update doc (missing relay option and update of /filter arguments)
Diffstat (limited to 'doc/en/autogen')
-rw-r--r--doc/en/autogen/relay_options.xml10
-rw-r--r--doc/en/autogen/weechat_commands.xml32
2 files changed, 26 insertions, 16 deletions
diff --git a/doc/en/autogen/relay_options.xml b/doc/en/autogen/relay_options.xml
index 71ba0a38f..1e9d990cb 100644
--- a/doc/en/autogen/relay_options.xml
+++ b/doc/en/autogen/relay_options.xml
@@ -96,6 +96,16 @@
</listitem>
</itemizedlist>
+<command>relay.network.enabled</command>: enable relay
+<itemizedlist>
+ <listitem>
+ <para>type: boolean</para>
+ </listitem>
+ <listitem>
+ <para>values: on, off (default value: off)</para>
+ </listitem>
+</itemizedlist>
+
<command>relay.network.listen_port_range</command>: port number (or range of ports) that relay plugin listens on (syntax: a single port, ie. 5000 or a port range, ie. 5000-5015)
<itemizedlist>
<listitem>
diff --git a/doc/en/autogen/weechat_commands.xml b/doc/en/autogen/weechat_commands.xml
index c392e8fa4..cab2f1142 100644
--- a/doc/en/autogen/weechat_commands.xml
+++ b/doc/en/autogen/weechat_commands.xml
@@ -102,33 +102,33 @@ windows: display windows tree
text: send "debug" signal with "text" as argument
</programlisting>
-<command>/filter [list] | [enable|disable|toggle [name]] | [add name buffer tags regex] | [del name|-all]</command>
+<command>/filter [list] | [enable|disable|toggle [name]] | [add name plugin.buffer tags regex] | [del name|-all]</command>
<programlisting>
filter messages in buffers, to hide/show them according to tags or regex
- list: list all filters
- enable: enable filters (filters are enabled by default)
-disable: disable filters
- toggle: toggle filters
- name: filter name
- add: add a filter
- del: delete a filter
- -all: delete all filters
- buffer: buffer where filter is active: it may be a name or "*" for all buffers
- tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
- regex: regular expression to search in line (use \t to separate prefix from message)
+ list: list all filters
+ enable: enable filters (filters are enabled by default)
+ disable: disable filters
+ toggle: toggle filters
+ name: filter name
+ add: add a filter
+ del: delete a filter
+ -all: delete all filters
+plugin.buffer: plugin and buffer where filter is active ("*" for all buffers)
+ tags: comma separated list of tags, for example: "irc_join,irc_part,irc_quit"
+ regex: regular expression to search in line (use \t to separate prefix from message)
Examples:
use IRC smart filter for join/part/quit messages:
/filter add irc_smart * irc_smart_filter *
filter all IRC join/part/quit messages:
/filter add joinquit * irc_join,irc_part,irc_quit *
- filter nick "toto" on channel #weechat:
- /filter add toto freenode.#weechat * toto\t
+ filter nick "toto" on IRC channel #weechat:
+ /filter add toto irc.freenode.#weechat * toto\t
filter lines containing word "spam":
/filter add filterspam * * spam
- filter lines containing "weechat sucks" on channel #weechat:
- /filter add sucks freenode.#weechat * weechat sucks
+ filter lines containing "weechat sucks" on IRC channel #weechat:
+ /filter add sucks irc.freenode.#weechat * weechat sucks
</programlisting>
<command>/help [command | option]</command>