mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-31 01:35:00 +00:00
docs: clarify read-only command description and behavior
This commit is contained in:
parent
141a2df19c
commit
f4e5515c82
1 changed files with 1 additions and 2 deletions
|
@ -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):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue