main: improved parameter descriptions
This commit is contained in:
parent
7d0f8b3640
commit
9c7483ec51
@ -69,8 +69,8 @@ def create_parser() -> argparse.ArgumentParser:
|
||||
question_cmd_parser.add_argument('-l', '--location',
|
||||
choices=[x.value for x in msg_location],
|
||||
default='db',
|
||||
help='Select message location, default is \'db\'')
|
||||
question_cmd_parser.add_argument('-g', '--glob', help='Glob for message file names')
|
||||
help='Use given location when building the chat history (default: \'db\')')
|
||||
question_cmd_parser.add_argument('-g', '--glob', help='Filter message files using the given glob pattern')
|
||||
question_cmd_parser.add_argument('-O', '--overwrite', help='Overwrite existing messages when repeating them',
|
||||
action='store_true')
|
||||
question_cmd_parser.add_argument('-s', '--source-text', nargs='+', help='Add content of a file to the query', metavar='FILE')
|
||||
@ -96,8 +96,8 @@ def create_parser() -> argparse.ArgumentParser:
|
||||
hist_cmd_parser.add_argument('-l', '--location',
|
||||
choices=[x.value for x in msg_location],
|
||||
default='db',
|
||||
help='Select message location, default is \'db\'')
|
||||
hist_cmd_parser.add_argument('-g', '--glob', help='Glob for message file names')
|
||||
help='Use given location when building the chat history (default: \'db\')')
|
||||
hist_cmd_parser.add_argument('-g', '--glob', help='Filter message files using the given glob pattern')
|
||||
|
||||
# 'tags' command parser
|
||||
tags_cmd_parser = cmdparser.add_parser('tags',
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user