diff -r 1b14ef641c7b -r 532953173cd5 src/CLIParser.h --- a/src/CLIParser.h Wed Oct 30 16:47:41 2019 +0100 +++ b/src/CLIParser.h Sun Nov 10 22:55:42 2019 +0100 @@ -51,6 +51,7 @@ static const string_t OPTION_FILE; static const string_t OPTION_XATTR; + static const string_t OPTION_HASH; static const string_t OPTION_AS; static const string_t OPTION_OPTION; static const string_t OPTION_RELATION; @@ -67,7 +68,7 @@ for (int i = 0; i < arguments.size();) { string_t option = readNext(arguments, i); - if (option == CLIParser::OPTION_FILE || option == CLIParser::OPTION_XATTR) { + if (option == CLIParser::OPTION_FILE || option == CLIParser::OPTION_XATTR || option == CLIParser::OPTION_HASH) { addField(c, currentGroup, currentName, currentAliases, currentOptions); // previous field currentGroup = option.substr(2); // cut off -- currentName = readNext(arguments, i); @@ -112,6 +113,7 @@ const string_t CLIParser::OPTION_FILE = L"--" + RequestedField::GROUP_FILE; const string_t CLIParser::OPTION_XATTR = L"--" + RequestedField::GROUP_XATTR; +const string_t CLIParser::OPTION_HASH = L"--" + RequestedField::GROUP_HASH; const string_t CLIParser::OPTION_AS = L"--as"; const string_t CLIParser::OPTION_OPTION = L"--option"; const string_t CLIParser::OPTION_RELATION = L"--relation";