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

Method Help

extras/catch_amalgamated.cpp:3225–3233  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

3223
3224
3225 Help::Help( bool& showHelpFlag ):
3226 Opt( [&]( bool flag ) {
3227 showHelpFlag = flag;
3228 return ParserResult::ok( ParseResultType::ShortCircuitAll );
3229 } ) {
3230 static_cast<Opt&> ( *this )(
3231 "display usage information" )["-?"]["-h"]["--help"]
3232 .optional();
3233 }
3234
3235 } // namespace Clara
3236} // namespace Catch

Callers

nothing calls this directly

Calls 1

optionalMethod · 0.45

Tested by

no test coverage detected