equal
deleted
inserted
replaced
95 definition.type = readNext(arguments, i); |
95 definition.type = readNext(arguments, i); |
96 definition.value = readNext(arguments, i); |
96 definition.value = readNext(arguments, i); |
97 if (currentRelation.relation.size()) currentRelation.definitions.push_back(definition); |
97 if (currentRelation.relation.size()) currentRelation.definitions.push_back(definition); |
98 else c.definitions.push_back(definition); |
98 else c.definitions.push_back(definition); |
99 } else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS); |
99 } else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS); |
100 |
|
101 addRelation(c, currentRelation); // last relation |
|
102 } |
100 } |
|
101 addRelation(c, currentRelation); // last relation |
103 |
102 |
104 return c; |
103 return c; |
105 } |
104 } |
106 |
105 |
107 virtual ~CLIParser() { |
106 virtual ~CLIParser() { |