doc: note the precedence of -t/--type

Fixes #1635
This commit is contained in:
Andrew Gallant 2023-11-25 14:08:30 -05:00
parent 88353c80da
commit e007523229

View File

@ -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 ripgrep to search in "whitelist" mode, where it will only search files it
recognizes via its type definitions. recognizes via its type definitions.
.sp .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. To see the list of available file types, use the \flag{type-list} flag.
"# "#
} }