| 5 | #include <stdexcept> |
| 6 | |
| 7 | namespace minitts::cli { |
| 8 | |
| 9 | namespace { |
| 10 | |
| 11 | // Every option name the CLI looked for, split by whether the lookup consumes the following |
| 12 | // argument. Populated by the lookups below, so a new flag is recognised the moment its lookup |
| 13 | // is added and there is no second list to keep in sync. |
| 14 | std::set<std::string> & value_names() { |
| 15 | static std::set<std::string> names; |
| 16 | return names; |
| 17 | } |
no test coverage detected