| 174 | } |
| 175 | |
| 176 | void process(cxxopts::Options& opts, cxxopts::ParseResult& args, Reporter& report) { |
| 177 | testrun = args["testrun"].as<bool>(); |
| 178 | |
| 179 | if (args.count("help")) { |
| 180 | fmt::print("{}: {}\n", report.commandName, report.commandDescription); |
| 181 | fmt::print("{}", opts.help()); |
| 182 | throw FatalError(rc::SUCCESS); |
| 183 | } |
| 184 | |
| 185 | if (args.count("version")) { |
| 186 | fmt::print("{} version: {}\n", opts.program(), version(testrun)); |
| 187 | throw FatalError(rc::SUCCESS); |
| 188 | } |
| 189 | } |
| 190 | }; |
| 191 | |
| 192 | enum class OutputFormat { |
nothing calls this directly
no test coverage detected