diff --git a/aider/main.py b/aider/main.py index 78aa6e06f..07e51b675 100644 --- a/aider/main.py +++ b/aider/main.py @@ -27,6 +27,15 @@ def main(args=None): f" ${env_prefix}INPUT_HISTORY_FILE)" ), ) + parser.add_argument( + "--chat-history-file", + metavar="CHAT_HISTORY_FILE", + default=os.environ.get(f"{env_prefix}CHAT_HISTORY_FILE", ".aider.chat.history.md"), + help=( + "Specify the chat history file (default: .aider.chat.history.md," + f" ${env_prefix}CHAT_HISTORY_FILE)" + ), + ) parser.add_argument( "--model", metavar="MODEL",