mirror of
https://github.com/Aider-AI/aider.git
synced 2025-06-01 02:05:00 +00:00
Fixes #374 - logging add_to_input_history if args.message is used.
Fixes https://github.com/paul-gauthier/aider/issues/374
This commit is contained in:
parent
fd34766aa9
commit
015ffa13e1
1 changed files with 1 additions and 0 deletions
|
@ -560,6 +560,7 @@ def main(argv=None, input=None, output=None, force_git_root=None):
|
||||||
io.tool_error(f"Git working dir: {git_root}")
|
io.tool_error(f"Git working dir: {git_root}")
|
||||||
|
|
||||||
if args.message:
|
if args.message:
|
||||||
|
io.add_to_input_history(args.message)
|
||||||
io.tool_output()
|
io.tool_output()
|
||||||
coder.run(with_message=args.message)
|
coder.run(with_message=args.message)
|
||||||
else:
|
else:
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue