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

Class Help

unittests/catch.hpp:6253–6265  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6251 };
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 {
6268

Callers 1

makeCommandLineParserFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected