MCPcopy Create free account
hub / github.com/InteractiveComputerGraphics/SPlisHSPlasH / Help

Class Help

extern/Catch2/catch.hpp:9475–9487  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

9473 };
9474
9475 struct Help : Opt {
9476 Help( bool &showHelpFlag )
9477 : Opt([&]( bool flag ) {
9478 showHelpFlag = flag;
9479 return ParserResult::ok( ParseResultType::ShortCircuitAll );
9480 })
9481 {
9482 static_cast<Opt &>( *this )
9483 ("display usage information")
9484 ["-?"]["-h"]["--help"]
9485 .optional();
9486 }
9487 };
9488
9489 struct Parser : ParserBase {
9490

Callers 1

makeCommandLineParserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected