From b15e96a7b09bf7a8bf3f2c80a81d4e51248662b3 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Wed, 31 Jul 2024 10:53:34 -0300 Subject: [PATCH] Move new args to Other section --- aider/args.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/aider/args.py b/aider/args.py index ba371cb1a..9bffb116d 100644 --- a/aider/args.py +++ b/aider/args.py @@ -31,12 +31,6 @@ def get_parser(default_config_files, git_root): group.add_argument( "files", metavar="FILE", nargs="*", help="files to edit with an LLM (optional)" ) - group.add_argument( - "--file", - action="append", - metavar="FILE", - help="specify a file to edit (can be used multiple times)", - ) group.add_argument( "--openai-api-key", metavar="OPENAI_API_KEY", @@ -355,6 +349,12 @@ def get_parser(default_config_files, git_root): default=False, help="Prefix commit messages with 'aider: ' (default: False)", ) + group.add_argument( + "--commit", + action="store_true", + help="Commit all pending changes with a suitable commit message, then exit", + default=False, + ) group.add_argument( "--commit-prompt", metavar="PROMPT", @@ -367,12 +367,6 @@ def get_parser(default_config_files, git_root): help="Perform a dry run without modifying files (default: False)", ) group = parser.add_argument_group("Fixing and committing") - group.add_argument( - "--commit", - action="store_true", - help="Commit all pending changes with a suitable commit message, then exit", - default=False, - ) group.add_argument( "--lint", action="store_true", @@ -414,6 +408,12 @@ def get_parser(default_config_files, git_root): ########## group = parser.add_argument_group("Other Settings") + group.add_argument( + "--file", + action="append", + metavar="FILE", + help="specify a file to edit (can be used multiple times)", + ) group.add_argument( "--vim", action="store_true",