cmm: added options '--tight' and '--no-paging' to the 'hist --print' cmd

This commit was merged in pull request #16.
This commit is contained in:
2023-10-01 10:22:26 +02:00
parent 8f56399844
commit 3ea1f49027
4 changed files with 11 additions and 4 deletions
+2
View File
@@ -85,6 +85,8 @@ def create_parser() -> argparse.ArgumentParser:
action='store_true')
hist_cmd_parser.add_argument('-A', '--answer', help='Print only answers with given substring', metavar='SUBSTRING')
hist_cmd_parser.add_argument('-Q', '--question', help='Print only questions with given substring', metavar='SUBSTRING')
hist_cmd_parser.add_argument('-d', '--tight', help='Print without message separators', action='store_true')
hist_cmd_parser.add_argument('-P', '--no-paging', help='Print without paging', action='store_true')
# 'tags' command parser
tags_cmd_parser = cmdparser.add_parser('tags',