src/CLIParser.h
branchv_0
changeset 26 88e566898f8f
parent 25 98be80d2e65b
--- a/src/CLIParser.h	Tue May 11 20:42:22 2021 +0200
+++ b/src/CLIParser.h	Tue May 11 21:10:22 2021 +0200
@@ -67,7 +67,7 @@
 
 	static const relpipe::common::type::StringX OPTION_RELATION;
 	static const relpipe::common::type::StringX OPTION_ATTRIBUTE;
-	static const relpipe::common::type::StringX OPTION_PATTERN;
+	static const relpipe::common::type::StringX OPTION_VALUE;
 	static const relpipe::common::type::StringX OPTION_CASE_SENSITIVE;
 	static const relpipe::common::type::StringX OPTION_INVERT_MATCH;
 
@@ -83,7 +83,7 @@
 				currentRelation.relation = readNext(arguments, i);
 			} else if (option == OPTION_ATTRIBUTE) {
 				currentRelation.attribute = readNext(arguments, i);
-			} else if (option == OPTION_PATTERN) {
+			} else if (option == OPTION_VALUE) {
 				currentRelation.value = readNext(arguments, i);
 			} else if (option == OPTION_CASE_SENSITIVE) {
 				RelationConfiguration::ENTITY entity = parseEntity(readNext(arguments, i));
@@ -104,7 +104,7 @@
 
 const relpipe::common::type::StringX CLIParser::OPTION_RELATION = L"--relation";
 const relpipe::common::type::StringX CLIParser::OPTION_ATTRIBUTE = L"--attribute";
-const relpipe::common::type::StringX CLIParser::OPTION_PATTERN = L"--pattern";
+const relpipe::common::type::StringX CLIParser::OPTION_VALUE = L"--value";
 const relpipe::common::type::StringX CLIParser::OPTION_CASE_SENSITIVE = L"--case-sensitive";
 const relpipe::common::type::StringX CLIParser::OPTION_INVERT_MATCH = L"--invert-match";