summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxime “pep” Buquet <pep@bouah.net>2018-12-16 16:28:02 +0000
committerMaxime “pep” Buquet <pep@bouah.net>2018-12-16 16:57:48 +0000
commit3ad55c746e1a28f457a5b1f26873097c263812a3 (patch)
tree90f8d349fd8331db13295926d94e2032a474d42f
parent936e16f98f7b9cf4062de62cc9c5ef30b1e44820 (diff)
downloadpoezio-3ad55c746e1a28f457a5b1f26873097c263812a3.tar.gz
poezio-3ad55c746e1a28f457a5b1f26873097c263812a3.tar.bz2
poezio-3ad55c746e1a28f457a5b1f26873097c263812a3.tar.xz
poezio-3ad55c746e1a28f457a5b1f26873097c263812a3.zip
impromptu: add or update documentation for commands
Signed-off-by: Maxime “pep” Buquet <pep@bouah.net>
-rw-r--r--doc/source/commands.rst11
-rw-r--r--poezio/core/core.py6
2 files changed, 14 insertions, 3 deletions
diff --git a/doc/source/commands.rst b/doc/source/commands.rst
index f28f992f..d5424e61 100644
--- a/doc/source/commands.rst
+++ b/doc/source/commands.rst
@@ -218,6 +218,11 @@ These commands work in *any* tab.
/invitations
Show the pending invitations.
+ /impromptu
+ **Usage:** ``/impromptu <jid> [jid ..]``
+
+ Invite specified JIDs into a newly created room.
+
/activity
**Usage:** ``/activity [<general> [specific] [comment]]``
@@ -472,6 +477,12 @@ Normal Conversation tab commands
Get the software version of the current interlocutor (usually its
XMPP client and Operating System).
+ /invite
+ **Usage:** ``/invite <jid> [jid ..]``
+
+ Invite specified JIDs, with this contact, into a newly
+ created room.
+
.. _rostertab-commands:
Contact list tab commands
diff --git a/poezio/core/core.py b/poezio/core/core.py
index 01748659..2ab34412 100644
--- a/poezio/core/core.py
+++ b/poezio/core/core.py
@@ -1874,9 +1874,9 @@ class Core:
self.register_command(
'impromptu',
self.command.impromptu,
- usage='<jid> [<jid> ...]',
- desc='Invite people into an impromptu room',
- shortdesc='Invite someone in a room.',
+ usage='<jid> [jid ...]',
+ desc='Invite specified JIDs into a newly created room.',
+ shortdesc='Invite specified JIDs into newly created room.',
completion=self.completion.impromptu)
self.register_command(
'invitations',