From d9c9c7bdd8756f378211a6b359b8c4b86a77e184 Mon Sep 17 00:00:00 2001 From: Peter Grayson Date: Wed, 16 Nov 2022 11:14:54 -0500 Subject: [PATCH] fix: ContextKind.as_str() spellings Signed-off-by: Peter Grayson --- src/error/context.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/error/context.rs b/src/error/context.rs index cd8e308e..045923c4 100644 --- a/src/error/context.rs +++ b/src/error/context.rs @@ -46,8 +46,8 @@ impl ContextKind { Self::InvalidSubcommand => Some("Invalid Subcommand"), Self::InvalidArg => Some("Invalid Argument"), Self::PriorArg => Some("Prior Argument"), - Self::ValidSubcommand => Some("Value Subcommand"), - Self::ValidValue => Some("Value Value"), + Self::ValidSubcommand => Some("Valid Subcommand"), + Self::ValidValue => Some("Valid Value"), Self::InvalidValue => Some("Invalid Value"), Self::ActualNumValues => Some("Actual Number of Values"), Self::ExpectedNumValues => Some("Expected Number of Values"),