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:
Kevin K 2018-02-05 11:37:17 -05:00 committed by Andrew Gallant
parent c57d0fb4e8
commit 85cd3f0a6e

View File

@ -1468,7 +1468,7 @@ Show all supported file types and their corresponding globs.
.help(SHORT).long_help(LONG) .help(SHORT).long_help(LONG)
// This also technically conflicts with PATTERN, but the first file // This also technically conflicts with PATTERN, but the first file
// path will actually be in PATTERN. // path will actually be in PATTERN.
.conflicts(&["file", "files", "PATTERN", "regexp"]); .conflicts(&["file", "files", "pattern", "regexp"]);
args.push(arg); args.push(arg);
} }