summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorMaxime Buquet <pep@bouah.net>2020-05-07 23:14:55 +0200
committerMaxime Buquet <pep@bouah.net>2020-05-07 23:14:55 +0200
commit4fe83c7451a9c18397fa1de790de7e9410f7a124 (patch)
tree94a1310b34bb6dbf60e5028c67ab1c3838afb5bc /doc
parentfa65b1b6607771e9dd8fab25dad4798b62d51b9e (diff)
parent880f024c6814b70cd97bfeeb8530df73f233c241 (diff)
downloadpoezio-4fe83c7451a9c18397fa1de790de7e9410f7a124.tar.gz
poezio-4fe83c7451a9c18397fa1de790de7e9410f7a124.tar.bz2
poezio-4fe83c7451a9c18397fa1de790de7e9410f7a124.tar.xz
poezio-4fe83c7451a9c18397fa1de790de7e9410f7a124.zip
Merge branch 'doc-affiliation' into 'master'
affiliation: fix usage string and add documentation See merge request poezio/poezio!89
Diffstat (limited to 'doc')
-rw-r--r--doc/source/commands.rst9
1 files changed, 5 insertions, 4 deletions
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index ba0d2866..dab2eceb 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -336,11 +336,12 @@ MultiUserChat tab commands
:sorted:
/affiliation
- **Usage:** ``/affiliation <nick> <affiliation>``
+ **Usage:** ``/affiliation [<nick or jid> <affiliation>]``
- Sets the affiliation of the participant designated by **nick** to the
- given **affiliation** (can be one of owner, admin, member, outcast
- and none).
+ Sets the affiliation of the participant designated by **nick** or
+ **jid** to the given **affiliation** (can be one of owner, admin,
+ member, outcast and none). If not argument is provided, lists
+ room affiliations.
/role
**Usage:** ``/affiliation <nick> <role>``