summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/source/commands.rst6
1 files changed, 4 insertions, 2 deletions
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index 2e469f08..a73fa9b3 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -504,10 +504,12 @@ Roster tab commands
Change your password.
/groupadd
- **Usage:** ``/groupadd <jid> <group>``
+ **Usage:** ``/groupadd (<jid> <group>|<group>)
Add the given JID to the given group (if the group
- does not exist, it will be created).
+ does not exist, it will be created). If no jid is provided,
+ the currently selected item on the roster (resource or JID)
+ will be used.
/groupmove
**Usage:** ``/groupmove <jid> <old_group> <new_group>``