mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-30 09:14:59 +00:00
strip the args for commands
This commit is contained in:
parent
59a9409caa
commit
7c013dba6a
1 changed files with 1 additions and 1 deletions
|
@ -199,7 +199,7 @@ class Commands:
|
|||
return
|
||||
|
||||
first_word = words[0]
|
||||
rest_inp = inp[len(words[0]) :]
|
||||
rest_inp = inp[len(words[0]) :].strip()
|
||||
|
||||
all_commands = self.get_commands()
|
||||
matching_commands = [cmd for cmd in all_commands if cmd.startswith(first_word)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue