Skip to content

Commit

Permalink
conf: Fix --color parse error string
Browse files Browse the repository at this point in the history
  • Loading branch information
vincentdephily committed Feb 16, 2024
1 parent b6fcc36 commit 7cf2341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/types.rs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ impl ArgParse<String, bool> for ColorStyle {
"tty" | "t" => Ok(isterm),
"yes" | "y" => Ok(true),
"no" | "n" => Ok(false),
_ => Err(ArgError::new(v, s).pos("(a)lways (n)ever (t)ty y")),
_ => Err(ArgError::new(v, s).pos("(y)es (n)o (t)ty")),
}
}
}
Expand Down

0 comments on commit 7cf2341

Please sign in to comment.