From 9c7483ec511690afe354ae74fba18418795988fe Mon Sep 17 00:00:00 2001 From: juk0de Date: Fri, 20 Oct 2023 08:57:12 +0200 Subject: [PATCH] main: improved parameter descriptions --- chatmastermind/main.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/chatmastermind/main.py b/chatmastermind/main.py index 702d8c0..d6eb3a2 100755 --- a/chatmastermind/main.py +++ b/chatmastermind/main.py @@ -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',