rg: add passthrough example (#23605)

This commit is contained in:
Managor
2026-08-18 21:37:06 +03:00
committed by GitHub
parent 0b5ddd9598
commit cd4c08ea55
+2 -2
View File
@@ -24,9 +24,9 @@
`rg {{pattern}} {{[-g|--glob]}} '{{filename_glob_pattern}}'`
- Recursively list filenames in the current directory that match a pattern:
- Recursively list filenames in the current directory and highlight ones that match a pattern:
`rg --files | rg {{pattern}}`
`rg --files | rg {{[--passthru|--passthrough]}} {{pattern}}`
- Only list matched files (useful when piping to other commands):