diff --git a/aider/args.py b/aider/args.py index 2b18fb6a0..ab1839c41 100644 --- a/aider/args.py +++ b/aider/args.py @@ -201,6 +201,12 @@ def get_parser(default_config_files, git_root): default=None, help="Max number of tokens to use for repo map, use 0 to disable (default: 1024)", ) + group.add_argument( + "--map-refresh", + choices=["auto", "always", "files", "manual"], + default="auto", + help="Control when the repo map is refreshed (default: auto)", + ) group.add_argument( "--max-chat-history-tokens", type=int,