src/CLIParser.h
branchv_0
changeset 16 2dcc22b7a424
parent 15 051e58022783
child 21 6486334a9f93
--- a/src/CLIParser.h	Tue Feb 05 20:40:32 2019 +0100
+++ b/src/CLIParser.h	Thu Feb 07 00:55:54 2019 +0100
@@ -66,6 +66,7 @@
 	static const string_t OPTION_WHERE;
 	static const string_t OPTION_DROP;
 	static const string_t OPTION_DEFINE;
+	static const string_t OPTION_HAS_MORE_RECORDS;
 
 	Configuration parse(const std::vector<string_t>& arguments) {
 		Configuration c;
@@ -79,6 +80,7 @@
 				else if (option == OPTION_AFTER_RECORDS) currentRelation.guileAfterRecords = readNext(arguments, i);
 				else if (option == OPTION_FOR_EACH) currentRelation.guileForEach = readNext(arguments, i);
 				else if (option == OPTION_WHERE) currentRelation.guileWhere = readNext(arguments, i);
+				else if (option == OPTION_HAS_MORE_RECORDS) currentRelation.guileHasMoreRecords = readNext(arguments, i);
 				else if (option == OPTION_DROP) currentRelation.drop = true;
 				else if (option == OPTION_INPUT_ATTRIBUTES_APPEND) currentRelation.inputAttributesAppend = true;
 				else if (option == OPTION_INPUT_ATTRIBUTES_PREPEND) currentRelation.inputAttributesPrepend = true;
@@ -121,6 +123,7 @@
 const string_t CLIParser::OPTION_WHERE = L"--where";
 const string_t CLIParser::OPTION_DROP = L"--drop";
 const string_t CLIParser::OPTION_DEFINE = L"--define";
+const string_t CLIParser::OPTION_HAS_MORE_RECORDS = L"--has-more-records";
 
 }
 }