From cd4c08ea55dbc084819fbe186a6975bcda777f16 Mon Sep 17 00:00:00 2001 From: Managor <42655600+Managor@users.noreply.github.com> Date: Tue, 18 Aug 2026 21:37:06 +0300 Subject: [PATCH] rg: add passthrough example (#23605) --- pages/common/rg.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pages/common/rg.md b/pages/common/rg.md index c740ef656d..d1ca02916f 100644 --- a/pages/common/rg.md +++ b/pages/common/rg.md @@ -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):