mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 00:05:01 +00:00
aider: Added --dirty-commits
argument to the argument parser in aider/main.py
.
# Context: USER: add --dirty-commits too ASSISTANT: To add the `--dirty-commits` argument, we need to modify the `aider/main.py` file. Here are the changes: ```python aider/main.py <<<<<<< ORIGINAL parser.add_argument( "--no-dirty-commits", action="store_false", dest="dirty_commits", help="Disable dirty commit of changes", ) ======= parser.add_argument( "--no-dirty-commits", action="store_false", dest="dirty_commits", help="Disable dirty commit of changes", ) parser.add_argument( "--dirty-commits", action="store_true", dest="dirty_commits", help="Enable dirty commit of changes", ) >>>>>>> UPDATED ``` These changes add the `--dirty-commits` argument to the argument parser in `aider/main.py`.
This commit is contained in:
parent
ed1a886a4f
commit
a2fa4f2929
1 changed files with 6 additions and 0 deletions
|
@ -128,6 +128,12 @@ def main(args=None, input=None, output=None):
|
|||
dest="dirty_commits",
|
||||
help="Disable dirty commit of changes",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--dirty-commits",
|
||||
action="store_true",
|
||||
dest="dirty_commits",
|
||||
help="Enable dirty commit of changes",
|
||||
)
|
||||
parser.add_argument(
|
||||
"--dry-run",
|
||||
action="store_true",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue