equal
deleted
inserted
replaced
70 currentRelation.mode = parseMode(readNext(arguments, i)); |
70 currentRelation.mode = parseMode(readNext(arguments, i)); |
71 } else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS); |
71 } else throw relpipe::cli::RelpipeCLIException(L"Unsupported CLI option: " + option, relpipe::cli::CLI::EXIT_CODE_BAD_CLI_ARGUMENTS); |
72 } |
72 } |
73 addRelation(c, currentRelation); // last relation |
73 addRelation(c, currentRelation); // last relation |
74 |
74 |
|
75 if (c.relationConfigurations.size() == 0) c.relationConfigurations.push_back({L".*", MODE::AUTO}); |
|
76 |
75 return c; |
77 return c; |
76 } |
78 } |
77 |
79 |
78 virtual ~CLIParser() { |
80 virtual ~CLIParser() { |
79 } |
81 } |