From f4e5515c82de797a46010264af38e2403dd5188d Mon Sep 17 00:00:00 2001 From: Paul Gauthier Date: Mon, 9 Dec 2024 15:37:48 -0800 Subject: [PATCH] docs: clarify read-only command description and behavior --- aider/commands.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/aider/commands.py b/aider/commands.py index 50f72a00e..8aa8220e7 100644 --- a/aider/commands.py +++ b/aider/commands.py @@ -1206,9 +1206,8 @@ class Commands: except Exception as e: self.io.tool_error(f"Error processing clipboard content: {e}") - # if no args are supplied, convert all /added files into read-only files ai! def cmd_read_only(self, args): - "Add files to the chat that are for reference, not to be edited" + "Add files to the chat that are for reference only, or turn added files to read-only" if not args.strip(): # Convert all files in chat to read-only for fname in list(self.coder.abs_fnames):