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:
Paul Gauthier 2023-05-27 05:10:23 -07:00
parent ed1a886a4f
commit a2fa4f2929

View file

@ -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",