diff options
author | Florent Le Coz <louiz@louiz.org> | 2012-12-15 03:28:06 +0100 |
---|---|---|
committer | Florent Le Coz <louiz@louiz.org> | 2012-12-15 03:28:06 +0100 |
commit | c7f4abaef64e994854c6dce5d01b61105a448714 (patch) | |
tree | a1be76d964b6fa387cfecc3844f40c28e6475b52 /doc | |
parent | 3c83157821ab21aa8e4aa2da479437e88ede6fc9 (diff) | |
download | poezio-c7f4abaef64e994854c6dce5d01b61105a448714.tar.gz poezio-c7f4abaef64e994854c6dce5d01b61105a448714.tar.bz2 poezio-c7f4abaef64e994854c6dce5d01b61105a448714.tar.xz poezio-c7f4abaef64e994854c6dce5d01b61105a448714.zip |
Add support for /set <option> toggle, which toggles the current value
fix #2184
Diffstat (limited to 'doc')
-rw-r--r-- | doc/en/usage.txt | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/doc/en/usage.txt b/doc/en/usage.txt index 002585a4..dd9f924f 100644 --- a/doc/en/usage.txt +++ b/doc/en/usage.txt @@ -276,14 +276,17 @@ These commands work in *any* tab. */bookmarks*:: Show the current bookmarks. -*/set [plugin|][section] <option> <value>*:: Set the value to the option in your - configuration file. You can, for example, change your default nickname by - doing "/set default_nick toto" or your resource with "/set resource blabla". - Doing so will write in the main config file, and in the main section - ([Poezio]). But you can also write to another section, with "/set bindings - M-i ^i", to a plugin configuration with "/set mpd_client| host main" (notice - the *|*, it is mandatory to write in a plugin), or even to another section - in a plugin configuration "/set plugin|other_section option value". +*/set [plugin|][section] <option> <value>*:: Set the value to the option in + your configuration file. You can, for example, change your default nickname + by doing "/set default_nick toto" or your resource with "/set resource + blabla". Doing so will write in the main config file, and in the main + section ([Poezio]). But you can also write to another section, with "/set + bindings M-i ^i", to a plugin configuration with "/set mpd_client| host + main" (notice the *|*, it is mandatory to write in a plugin), or even to + another section in a plugin configuration "/set plugin|other_section option + value". *toggle* can be used as a special value for a boolean option. It + just set the option to true if it’s currently false, and to false if it’s + currently true. */move_tab <source> <destination>*:: Move tab <source> to <destination>. If the create_gaps option is true, then it will leave a gap at the <source> |