Skip to content

Commit

Permalink
doc: note the precedence of -t/--type
Browse files Browse the repository at this point in the history
Fixes #1635
  • Loading branch information
BurntSushi committed Nov 25, 2023
1 parent 88353c8 commit e007523
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions crates/core/flags/defs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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.
"#
}
Expand Down

0 comments on commit e007523

Please sign in to comment.