diff -r 2ac59242d0cb -r e4558df9ba2d src/CLIParser.h --- a/src/CLIParser.h Tue May 07 21:25:45 2019 +0200 +++ b/src/CLIParser.h Tue May 07 21:33:59 2019 +0200 @@ -67,6 +67,7 @@ static const string_t OPTION_BEFORE_RECORDS; static const string_t OPTION_AFTER_RECORDS; static const string_t OPTION_FOR_EACH; + static const string_t OPTION_DROP; static const string_t OPTION_DEFINE; Configuration parse(const std::vector& arguments) { @@ -79,6 +80,7 @@ if (option == OPTION_BEFORE_RECORDS) currentRelation.awkBeforeRecords = readNext(arguments, i); else if (option == OPTION_AFTER_RECORDS) currentRelation.awkAfterRecords = readNext(arguments, i); else if (option == OPTION_FOR_EACH) currentRelation.awkForEach = 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; else if (option == OPTION_RELATION) { @@ -114,6 +116,7 @@ const string_t CLIParser::OPTION_BEFORE_RECORDS = L"--before-records"; const string_t CLIParser::OPTION_AFTER_RECORDS = L"--after-records"; const string_t CLIParser::OPTION_FOR_EACH = L"--for-each"; +const string_t CLIParser::OPTION_DROP = L"--drop"; const string_t CLIParser::OPTION_DEFINE = L"--define"; }