From c441906a222ead58172f1b587faa936763f14e9d Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Fri, 19 May 2023 10:57:59 -0700 Subject: [PATCH] aider: Made `-v` a short option for `--verbose`. # Context: USER: make -v short for --verbose ASSISTANT: To make `-v` a short option for `--verbose`, you can modify the `aider/main.py` file. Here's the change: ```python aider/main.py <<<<<<< ORIGINAL parser.add_argument( "--verbose", action="store_true", help="Enable verbose output", default=False, ) ======= parser.add_argument( "-v", "--verbose", action="store_true", help="Enable verbose output", default=False, ) >>>>>>> UPDATED ``` --- aider/main.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/aider/main.py b/aider/main.py index 70c2b312d..286ab2f81 100644 --- a/aider/main.py +++ b/aider/main.py @@ -97,7 +97,7 @@ def main(args=None, input=None, output=None): default=False, ) parser.add_argument( - "--verbose", + "-v", "--verbose", action="store_true", help="Enable verbose output", default=False,