From 5ba8ba9dcccdfa74dd1c44260e64b359bbb36be6 Mon Sep 17 00:00:00 2001 From: Sung Rim Huh Date: Thu, 10 Dec 2015 08:40:24 -0800 Subject: [PATCH] fix(errors): return correct error type in WrongNumValues error builder --- src/errors.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/errors.rs b/src/errors.rs index 2f18f9af..38e55b6b 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -256,7 +256,7 @@ pub mod error_builder { suffix.as_ref(), usage.as_ref(), Format::Good("--help")), - error_type: cet::InvalidSubcommand, + error_type: cet::WrongNumValues, } }