MCPcopy Create free account
hub / github.com/ChaiScript/ChaiScript / Help

Method Help

unittests/catch.hpp:6254–6264  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6252
6253 struct Help : Opt {
6254 Help( bool &showHelpFlag )
6255 : Opt([&]( bool flag ) {
6256 showHelpFlag = flag;
6257 return ParserResult::ok( ParseResultType::ShortCircuitAll );
6258 })
6259 {
6260 static_cast<Opt &>( *this )
6261 ("display usage information")
6262 ["-?"]["-h"]["--help"]
6263 .optional();
6264 }
6265 };
6266
6267 struct Parser : ParserBase {

Callers

nothing calls this directly

Calls 1

optionalMethod · 0.80

Tested by

no test coverage detected