diff options
author | Kevin K <kbknapp@gmail.com> | 2018-02-05 11:37:17 -0500 |
---|---|---|
committer | Andrew Gallant <jamslam@gmail.com> | 2018-02-05 11:37:17 -0500 |
commit | 85cd3f0a6e72a1d75c37be7b8ee4677a6bcc3f3d (patch) | |
tree | 2545f81e2afe090e0467ad8054603258e9112475 /src | |
parent | c57d0fb4e862005ca0c7b79fb90a31a11e022ff7 (diff) |
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.
Diffstat (limited to 'src')
-rw-r--r-- | src/app.rs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); } |