From 39c1aeac9e05998ee71d004353d7e6b2c7586779 Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Sat, 24 Jun 2023 13:49:27 -0700 Subject: [PATCH] Renamed --cmd to --msg --- aider/main.py | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/aider/main.py b/aider/main.py index 1979fc5e0..ea28cb4bc 100644 --- a/aider/main.py +++ b/aider/main.py @@ -221,8 +221,9 @@ def main(args=None, input=None, output=None): default=False, ) parser.add_argument( - "--command", - "--cmd", + "--message", + "--msg", + "-m", metavar="COMMAND", help="Specify a single command to give to GPT (disables chat mode)", ) @@ -285,9 +286,9 @@ def main(args=None, input=None, output=None): return io.tool_output("Use /help to see in-chat commands.") - if args.command: + if args.message: io.tool_output() - coder.run(with_message=args.command) + coder.run(with_message=args.message) else: coder.run()