MCPcopy Create free account
hub / github.com/CLIUtils/CLI11 / reset

Method reset

tests/HelpTest.cpp:1102–1105  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1100 int run(const CLI::Error &e) { return app.exit(e, out, err); }
1101
1102 void reset() {
1103 out.clear();
1104 err.clear();
1105 }
1106};
1107
1108TEST_CASE_METHOD(CapturedHelp, "Successful", "[help]") {

Callers 2

SetTest.cppFile · 0.80
add_optionMethod · 0.80

Calls 1

clearMethod · 0.80

Tested by

no test coverage detected