MCPcopy Create free account
hub / github.com/SakuraEngine/SakuraEngine / parseFlag

Function parseFlag

tests/framework/src/doctest.cpp:3408–3410  ·  view source on GitHub ↗

locates a flag on the command line

Source from the content-addressed store, hash-verified

3406
3407 // locates a flag on the command line
3408 bool parseFlag(int argc, const char* const* argv, const char* pattern) {
3409 return parseOption(argc, argv, pattern);
3410 }
3411
3412 // parses a comma separated list of words after a pattern in one of the arguments in argv
3413 bool parseCommaSepArgs(int argc, const char* const* argv, const char* pattern,

Callers 1

parseArgsMethod · 0.85

Calls 1

parseOptionFunction · 0.85

Tested by

no test coverage detected