From e0075232291bd4043202844719e755f5980a4cc8 Mon Sep 17 00:00:00 2001 From: Andrew Gallant Date: Sat, 25 Nov 2023 14:08:30 -0500 Subject: [PATCH] doc: note the precedence of -t/--type Fixes #1635 --- crates/core/flags/defs.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/crates/core/flags/defs.rs b/crates/core/flags/defs.rs index 68b0aaafb..5e76e4552 100644 --- a/crates/core/flags/defs.rs +++ b/crates/core/flags/defs.rs @@ -6773,6 +6773,9 @@ any custom file types). The end result is that \fB\-\-type=all\fP causes ripgrep to search in "whitelist" mode, where it will only search files it recognizes via its type definitions. .sp +Note that this flag has lower precedence than both the \flag{glob} flag and +any rules found in ignore files. +.sp To see the list of available file types, use the \flag{type-list} flag. "# }