mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 18:25:00 +00:00
Renamed --cmd to --msg
This commit is contained in:
parent
6590faa428
commit
39c1aeac9e
1 changed files with 5 additions and 4 deletions
|
@ -221,8 +221,9 @@ def main(args=None, input=None, output=None):
|
||||||
default=False,
|
default=False,
|
||||||
)
|
)
|
||||||
parser.add_argument(
|
parser.add_argument(
|
||||||
"--command",
|
"--message",
|
||||||
"--cmd",
|
"--msg",
|
||||||
|
"-m",
|
||||||
metavar="COMMAND",
|
metavar="COMMAND",
|
||||||
help="Specify a single command to give to GPT (disables chat mode)",
|
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
|
return
|
||||||
|
|
||||||
io.tool_output("Use /help to see in-chat commands.")
|
io.tool_output("Use /help to see in-chat commands.")
|
||||||
if args.command:
|
if args.message:
|
||||||
io.tool_output()
|
io.tool_output()
|
||||||
coder.run(with_message=args.command)
|
coder.run(with_message=args.message)
|
||||||
else:
|
else:
|
||||||
coder.run()
|
coder.run()
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue