mirror of
https://github.com/BurntSushi/ripgrep.git
synced 2025-05-19 09:40:22 -07:00
argv: fix PATTERN typo
When referencing the PATTERN positional argument, we should use `pattern` and not `PATTERN`. The former is the clap identifier name while the latter is the argument value name.
This commit is contained in:
parent
c57d0fb4e8
commit
85cd3f0a6e
@ -1468,7 +1468,7 @@ Show all supported file types and their corresponding globs.
|
||||
.help(SHORT).long_help(LONG)
|
||||
// This also technically conflicts with PATTERN, but the first file
|
||||
// path will actually be in PATTERN.
|
||||
.conflicts(&["file", "files", "PATTERN", "regexp"]);
|
||||
.conflicts(&["file", "files", "pattern", "regexp"]);
|
||||
args.push(arg);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user