From 7cf2341214e7098d4e90b5b0a6774b1a80c3cfa7 Mon Sep 17 00:00:00 2001 From: Vincent de Phily Date: Fri, 16 Feb 2024 00:09:41 +0000 Subject: [PATCH] conf: Fix `--color` parse error string --- src/config/types.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/config/types.rs b/src/config/types.rs index 9e269f0..603172d 100644 --- a/src/config/types.rs +++ b/src/config/types.rs @@ -159,7 +159,7 @@ impl ArgParse 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")), } } }