Auto merge of #360 - sru:errors-wrong-num-values, r=Vinatorul

fix(errors): return correct error type in WrongNumValues error builder
This commit is contained in:
Homu 2015-12-11 02:07:54 +09:00
commit d90b48befc

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