chore: add proper pluralization handling for match in grep tool (#2344)

Co-authored-by: Allen Hutchison <adh@google.com>
This commit is contained in:
Kalle Ahlström
2025-06-28 17:41:25 +03:00
committed by GitHub
parent 25cdf9b762
commit 9665928860
3 changed files with 16 additions and 13 deletions

View File

@@ -159,7 +159,7 @@ The Gemini CLI provides a comprehensive suite of tools for interacting with the
- Returns a list of matching lines, each prefixed with its file path (relative to the search directory) and line number.
- **Output (`llmContent`):** A formatted string of matches, e.g.:
```
Found 3 match(es) for pattern "myFunction" in path "." (filter: "*.ts"):
Found 3 matches for pattern "myFunction" in path "." (filter: "*.ts"):
---
File: src/utils.ts
L15: export function myFunction() {