MCPcopy Create free account
hub / github.com/catchorg/Catch2 / Help

Method Help

src/catch2/internal/catch_clara.cpp:453–461  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

451
452
453 Help::Help( bool& showHelpFlag ):
454 Opt( [&]( bool flag ) {
455 showHelpFlag = flag;
456 return ParserResult::ok( ParseResultType::ShortCircuitAll );
457 } ) {
458 static_cast<Opt&> ( *this )(
459 "display usage information" )["-?"]["-h"]["--help"]
460 .optional();
461 }
462
463 } // namespace Clara
464} // namespace Catch

Callers

nothing calls this directly

Calls 1

optionalMethod · 0.45

Tested by

no test coverage detected