improved --help

This commit is contained in:
Paul Gauthier 2023-06-05 11:15:38 -07:00
parent 95b32a74a9
commit c30b302363

View file

@ -123,27 +123,27 @@ def main(args=None, input=None, output=None):
action="store_true", action="store_true",
dest="auto_commits", dest="auto_commits",
default=True, default=True,
help="Enable auto commit of changes (default: True)", help="Enable auto commit of GPT changes (default: True)",
) )
parser.add_argument( parser.add_argument(
"--no-auto-commits", "--no-auto-commits",
action="store_false", action="store_false",
dest="auto_commits", dest="auto_commits",
help="Disable auto commit of changes", help="Disable auto commit of GPT changes",
) )
parser.add_argument( parser.add_argument(
"--dirty-commits", "--dirty-commits",
action="store_true", action="store_true",
dest="dirty_commits", dest="dirty_commits",
help="Enable dirty commit of changes", help="Enable commits when repo is found dirty",
default=True, default=True,
) )
parser.add_argument( parser.add_argument(
"--no-dirty-commits", "--no-dirty-commits",
action="store_false", action="store_false",
dest="dirty_commits", dest="dirty_commits",
help="Disable dirty commit of changes", help="Disable commits when repo is found dirty",
) )
parser.add_argument( parser.add_argument(
"--openai-api-key", "--openai-api-key",