Skip to content

Commit

Permalink
fix(errors): return correct error type in WrongNumValues error builder
Browse files Browse the repository at this point in the history
  • Loading branch information
sru committed Dec 10, 2015
1 parent f2e4159 commit 5ba8ba9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
}
}

Expand Down

0 comments on commit 5ba8ba9

Please sign in to comment.