diff options
author | Madhur Garg <madhurgarg96@gmail.com> | 2019-07-08 13:04:20 +0530 |
---|---|---|
committer | Madhur Garg <madhurgarg96@gmail.com> | 2019-08-22 00:54:25 +0530 |
commit | a0d8e1ceeefcfd0596e7034833cfcdeee63f1f01 (patch) | |
tree | 43e80eb6554d40a3ea7349b2648d9ff8a28dcc93 | |
parent | 772cec28fbe665599a7c74d5a4934f3c1eefb495 (diff) | |
download | poezio-a0d8e1ceeefcfd0596e7034833cfcdeee63f1f01.tar.gz poezio-a0d8e1ceeefcfd0596e7034833cfcdeee63f1f01.tar.bz2 poezio-a0d8e1ceeefcfd0596e7034833cfcdeee63f1f01.tar.xz poezio-a0d8e1ceeefcfd0596e7034833cfcdeee63f1f01.zip |
Corrected description of /mam command
-rw-r--r-- | poezio/tabs/basetabs.py | 9 |
1 files changed, 4 insertions, 5 deletions
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 |