diff options
author | Dan Davison <dandavison7@gmail.com> | 2020-05-28 21:18:10 -0400 |
---|---|---|
committer | Dan Davison <dandavison7@gmail.com> | 2020-05-28 21:18:10 -0400 |
commit | 3bb4c6f0d0ddb21eb68e604fdff49e8fea44ecd7 (patch) | |
tree | 6374c51d78191e318e881b30e171f721df5cdcdd | |
parent | 54fc0402292c40b500901c59288dfffc22c93137 (diff) |
Fix error message
-rw-r--r-- | src/color.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/color.rs b/src/color.rs index 7ca46815..8caaf4c4 100644 --- a/src/color.rs +++ b/src/color.rs @@ -9,7 +9,7 @@ use crate::syntect_color; pub fn color_from_rgb_or_ansi_code(s: &str, true_color: bool) -> Color { let die = || { - eprintln!("Invalid color: {}", s); + eprintln!("Invalid color or style attribute: {}", s); process::exit(1); }; let syntect_color = if s.starts_with("#") { |