From 6a01c2568b1a15d2a00c165d3981bbc989900a23 Mon Sep 17 00:00:00 2001 From: N <47500890+avi-cenna@users.noreply.github.com> Date: Sat, 9 Sep 2023 12:59:20 -0400 Subject: [PATCH] typo --- src/config.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config.rs b/src/config.rs index cbc68406e6..efa06387fe 100644 --- a/src/config.rs +++ b/src/config.rs @@ -417,7 +417,7 @@ impl Config { let value = matches .value_of(arg::COMMAND_COLOR) .ok_or_else(|| ConfigError::Internal { - message: "`--command_color` had no value".to_string(), + message: "`--command-color` had no value".to_string(), })?; match value { @@ -425,7 +425,7 @@ impl Config { arg::COMMAND_COLOR_CYAN => Ok(Some(Colour::Cyan)), arg::COMMAND_COLOR_PURPLE => Ok(Some(Colour::Purple)), _ => Err(ConfigError::Internal { - message: format!("Invalid argument `{value}` to --command_color."), + message: format!("Invalid argument `{value}` to --command-color."), }), } }