From 690530a19120e47415026498370ee57d74aad721 Mon Sep 17 00:00:00 2001 From: David Tolnay Date: Fri, 17 Jun 2022 13:07:09 -0700 Subject: [PATCH] Fix typo in ErrorKind::ValueValidation message --- src/error/kind.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/error/kind.rs b/src/error/kind.rs index 21256609a8c..4c3dc48b028 100644 --- a/src/error/kind.rs +++ b/src/error/kind.rs @@ -407,7 +407,7 @@ impl ErrorKind { Self::UnrecognizedSubcommand => Some("A subcommand wasn't recognized"), Self::EmptyValue => Some("An argument requires a value but none was supplied"), Self::NoEquals => Some("Equal is needed when assigning values to one of the arguments"), - Self::ValueValidation => Some("Invalid for for one of the arguments"), + Self::ValueValidation => Some("Invalid value for one of the arguments"), Self::TooManyValues => Some("An argument received an unexpected value"), Self::TooFewValues => Some("An argument requires more values"), Self::TooManyOccurrences => Some("An argument occurred too many times"),