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