From a0d8e1ceeefcfd0596e7034833cfcdeee63f1f01 Mon Sep 17 00:00:00 2001 From: Madhur Garg Date: Mon, 8 Jul 2019 13:04:20 +0530 Subject: Corrected description of /mam command --- poezio/tabs/basetabs.py | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'poezio/tabs') diff --git a/poezio/tabs/basetabs.py b/poezio/tabs/basetabs.py index 4c172d93..30a35fa8 100644 --- a/poezio/tabs/basetabs.py +++ b/poezio/tabs/basetabs.py @@ -503,8 +503,8 @@ class ChatTab(Tab): self.register_command( 'mam', self.command_mam, - usage="[start_timestamp] [end_timestamp]", - shortdesc='Query and control an archive of messages using MAM.') + usage="[start_timestamp [end_timestamp]]", + shortdesc='Query an archive of messages using MAM.') self.commands['sb'] = self.commands['scrollback'] self.register_command( 'xhtml', @@ -927,9 +927,8 @@ class ChatTab(Tab): @command_args_parser.quoted(0, 2) def command_mam(self, args): """ - /mam - /mam [start-timestamp] (current timestamp is taken as end-timestamp) - /mam [start-timestamp] [end-timestamp] + Query an archive of messages using MAM. + /mam [start_timestamp [end_timestamp]] """ remote_jid = self.jid -- cgit v1.2.3