src/CLIParser.h
branchv_0
changeset 41 e1339b8e838e
parent 39 f33464965693
child 42 ca216de56ef0
--- a/src/CLIParser.h	Fri Jul 01 23:38:15 2022 +0200
+++ b/src/CLIParser.h	Sat Jul 02 15:21:59 2022 +0200
@@ -61,9 +61,9 @@
 	Configuration::ColorScheme parseColorScheme(const relpipe::reader::string_t& value) {
 		if (value == L"greenish") return Configuration::ColorScheme::Greenish;
 		else if (value == L"amberish") return Configuration::ColorScheme::Amberish;
-		else if (value == L"monochrome") return Configuration::ColorScheme::Monochrome;
+		else if (value == L"black-and-white") return Configuration::ColorScheme::BlackAndWhite;
 		else if (value == L"midnight") return Configuration::ColorScheme::Midnight;
-		else throw relpipe::cli::RelpipeCLIException(L"Unable to parse ColorScheme value: " + value + L" (expecting green-screen, monochrome or midnight)", relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS);
+		else throw relpipe::cli::RelpipeCLIException(L"Unable to parse ColorScheme value: " + value + L" (expecting greenish, amberish, midnight or black-and-white)", relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS);
 	}
 	
 	Configuration::TableStyle parseTableStyle(const relpipe::reader::string_t& value) {