From 6a055d922cb0899efe48d76defad3ff56ab7395d Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 25 Nov 2023 14:18:24 -0500 Subject: doc: clarify errors for -z/--search-zip Fixes #1622 --- crates/core/flags/defs.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'crates') diff --git a/crates/core/flags/defs.rs b/crates/core/flags/defs.rs index 5e76e455..9200c143 100644 --- a/crates/core/flags/defs.rs +++ b/crates/core/flags/defs.rs @@ -5969,7 +5969,9 @@ impl Flag for SearchZip { This flag instructs ripgrep to search in compressed files. Currently gzip, bzip2, xz, LZ4, LZMA, Brotli and Zstd files are supported. This option expects the decompression binaries (such as \fBgzip\fP) to be available in your -\fBPATH\fP. +\fBPATH\fP. If the required binaries are not found, then ripgrep will not +emit an error messages by default. Use the \flag{debug} flag to see more +information. .sp Note that this flag does not make ripgrep search archive formats as directory trees. It only makes ripgrep detect compressed files and then decompress them -- cgit v1.2.3