summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Gallant <jamslam@gmail.com>2023-11-25 14:08:30 -0500
committerAndrew Gallant <jamslam@gmail.com>2023-11-25 15:03:53 -0500
commite0075232291bd4043202844719e755f5980a4cc8 (patch)
tree91222569c211263a4d0ffdd84b476738d012547d
parent88353c80da5cb9b08112fb5faa512ac511cefd52 (diff)
doc: note the precedence of -t/--type
Fixes #1635
-rw-r--r--crates/core/flags/defs.rs3
1 files changed, 3 insertions, 0 deletions
diff --git a/crates/core/flags/defs.rs b/crates/core/flags/defs.rs
index 68b0aaaf..5e76e455 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.
"#
}