summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorKevin K <kbknapp@gmail.com>2018-02-05 11:37:17 -0500
committerAndrew Gallant <jamslam@gmail.com>2018-02-05 11:37:17 -0500
commit85cd3f0a6e72a1d75c37be7b8ee4677a6bcc3f3d (patch)
tree2545f81e2afe090e0467ad8054603258e9112475 /src
parentc57d0fb4e862005ca0c7b79fb90a31a11e022ff7 (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.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app.rs b/src/app.rs
index 16cd3d82..ba141894 100644
--- a/src/app.rs
+++ b/src/app.rs
@@ -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);
}