From 85cd3f0a6e72a1d75c37be7b8ee4677a6bcc3f3d Mon Sep 17 00:00:00 2001 From: Kevin K Date: Mon, 5 Feb 2018 11:37:17 -0500 Subject: [PATCH] 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. --- src/app.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); }