From 706a7c11b0900be594de6d5a3121938eff197602 Mon Sep 17 00:00:00 2001 From: Kevin K Date: Sun, 5 Jun 2016 01:07:47 -0400 Subject: [PATCH] fix(Settings): fixes bug where new color settings couldn't be converted from strs --- src/app/settings.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/app/settings.rs b/src/app/settings.rs index 62b09c13233..e7262c76189 100644 --- a/src/app/settings.rs +++ b/src/app/settings.rs @@ -584,6 +584,10 @@ impl FromStr for AppSettings { "nextlinehelp" => Ok(AppSettings::NextLineHelp), "derivedisplayorder" => Ok(AppSettings::DeriveDisplayOrder), "coloredhelp" => Ok(AppSettings::ColoredHelp), + "dontdelimittrailingvalues" => Ok(AppSettings::DontDelimitTrailingValues), + "colorauto" => Ok(AppSettings::ColorAuto), + "coloralways" => Ok(AppSettings::ColorAlways), + "colornever" => Ok(AppSettings::ColorNever), _ => Err("unknown AppSetting, cannot convert from str".to_owned()), } }