--- a/src/CLIParser.h Tue Feb 05 00:06:44 2019 +0100
+++ b/src/CLIParser.h Tue Feb 05 12:14:58 2019 +0100
@@ -97,7 +97,8 @@
definition.name = readNext(arguments, i);
definition.type = readNext(arguments, i);
definition.value = readNext(arguments, i);
- currentRelation.definitions.push_back(definition);
+ if (currentRelation.relation.size()) currentRelation.definitions.push_back(definition);
+ else c.definitions.push_back(definition);
} else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS);
}