fix(errors): return correct error type in WrongNumValues error builder

This commit is contained in:
Sung Rim Huh 2015-12-10 08:40:24 -08:00
parent f2e4159831
commit 5ba8ba9dcc

View file

@ -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,
}
}