src/CLIParser.h
branchv_0
changeset 5 d70ea23682aa
parent 2 f031a4dc7c52
child 6 fb717cfbfea1
--- a/src/CLIParser.h	Sun Nov 22 12:24:25 2020 +0100
+++ b/src/CLIParser.h	Sun Nov 22 19:22:25 2020 +0100
@@ -50,7 +50,7 @@
 
 	static const relpipe::writer::string_t OPTION_RELATION;
 	static const relpipe::writer::string_t OPTION_ENABLE_SECTIONS;
-	static const relpipe::writer::string_t OPTION_ENABLE_SUBKEYS;
+	static const relpipe::writer::string_t OPTION_ENABLE_SUB_KEYS;
 	static const relpipe::writer::string_t OPTION_ENABLE_COMMENTS;
 	static const relpipe::writer::string_t OPTION_ENABLE_LINE_NUMBERS;
 	static const relpipe::writer::string_t OPTION_ENABLE_EVENT_NUMBERS;
@@ -63,7 +63,7 @@
 
 			if (option == OPTION_RELATION) c.relation = readNext(arguments, i);
 			else if (option == OPTION_ENABLE_SECTIONS) c.enableSections = parseBoolean(readNext(arguments, i));
-			else if (option == OPTION_ENABLE_SUBKEYS) c.enableSubkeys = parseBoolean(readNext(arguments, i));
+			else if (option == OPTION_ENABLE_SUB_KEYS) c.enableSubKeys = parseBoolean(readNext(arguments, i));
 			else if (option == OPTION_ENABLE_COMMENTS) c.enableComments = parseBoolean(readNext(arguments, i));
 			else if (option == OPTION_ENABLE_LINE_NUMBERS) c.enableLineNumbers = parseBoolean(readNext(arguments, i));
 			else if (option == OPTION_ENABLE_EVENT_NUMBERS) c.enableEventNumbers = parseBoolean(readNext(arguments, i));
@@ -79,7 +79,7 @@
 
 const relpipe::writer::string_t CLIParser::OPTION_RELATION = L"--relation";
 const relpipe::writer::string_t CLIParser::OPTION_ENABLE_SECTIONS = L"--enable-sections";
-const relpipe::writer::string_t CLIParser::OPTION_ENABLE_SUBKEYS = L"--enable-subkeys";
+const relpipe::writer::string_t CLIParser::OPTION_ENABLE_SUB_KEYS = L"--enable-sub-keys";
 const relpipe::writer::string_t CLIParser::OPTION_ENABLE_COMMENTS = L"--enable-comments";
 const relpipe::writer::string_t CLIParser::OPTION_ENABLE_LINE_NUMBERS = L"--enable-line-numbers";
 const relpipe::writer::string_t CLIParser::OPTION_ENABLE_EVENT_NUMBERS = L"--enable-event-numbers";