Skip to content

Commit

Permalink
Merge pull request #1167 from etopiei/Issue#1160
Browse files Browse the repository at this point in the history
style: Issue #1160
  • Loading branch information
kbknapp authored Feb 6, 2018
2 parents 1c9499d + 852a31c commit 32c6105
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/errors.rs
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@ impl Error {
Error {
message: format!(
"{} '{}' isn't a valid value for '{}'\n\t\
[values: {}]\n\
[possible values: {}]\n\
{}\n\n\
{}\n\n\
For more information try {}",
Expand Down
4 changes: 2 additions & 2 deletions tests/possible_values.rs
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ use clap::{App, Arg, ErrorKind};

#[cfg(feature = "suggestions")]
static PV_ERROR: &'static str = "error: 'slo' isn't a valid value for '--Option <option3>'
\t[values: fast, slow]
\t[possible values: fast, slow]
\tDid you mean 'slow'?
Expand All @@ -21,7 +21,7 @@ For more information try --help";

#[cfg(not(feature = "suggestions"))]
static PV_ERROR: &'static str = "error: 'slo' isn't a valid value for '--Option <option3>'
\t[values: fast, slow]
\t[possible values: fast, slow]
USAGE:
Expand Down

0 comments on commit 32c6105

Please sign in to comment.