| 180 | } |
| 181 | |
| 182 | void FlagGroup::parseFlags(int argc, |
| 183 | const char* argv[], |
| 184 | std::function<bool(const std::string&)> callback) |
| 185 | { |
| 186 | auto filenames = parseFlagsWithFilenames(argc, argv, callback); |
| 187 | if (!filenames.empty()) |
| 188 | error( |
| 189 | "non-option parameter '{}' seen (try --help)", *filenames.begin()); |
| 190 | } |
| 191 | |
| 192 | static void doLoadConfig(const std::string& filename) |
| 193 | { |
no test coverage detected