From 39912fdc09b55dfddb1cce5a83c8773918fed42f Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 10 Jul 2023 07:23:17 -0700 Subject: [PATCH] more help --- aider/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/aider/main.py b/aider/main.py index a3651fd2c..b2a584aa7 100644 --- a/aider/main.py +++ b/aider/main.py @@ -296,7 +296,9 @@ def main(args=None, input=None, output=None): if not git_root and args.git: if io.confirm_ask("No git repo found, create one to track GPT's changes (recommended)?"): repo = git.Repo.init(os.getcwd()) - global_git_config = git.GitConfigParser([str(Path.home() / ".gitconfig")], read_only=True) + global_git_config = git.GitConfigParser( + [str(Path.home() / ".gitconfig")], read_only=True + ) with repo.config_writer() as git_config: if not global_git_config.has_option("user", "name"): git_config.set_value("user", "name", "Your Name") @@ -361,7 +363,7 @@ def main(args=None, input=None, output=None): coder.apply_updates(content) return - io.tool_output("Use /help to see in-chat commands.") + io.tool_output("Use /help to see in-chat commands, run with --help to see cmd line args") if args.message: io.tool_output() coder.run(with_message=args.message)