MCPcopy Create free account
hub / github.com/adobe/hyde / MakeOptionsParser

Function MakeOptionsParser

sources/main.cpp:407–413  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405/**************************************************************************************************/
406
407CommonOptionsParser MakeOptionsParser(int argc, const char** argv) {
408 auto MaybeOptionsParser = CommonOptionsParser::create(argc, argv, MyToolCategory);
409 if (!MaybeOptionsParser) {
410 throw MaybeOptionsParser.takeError();
411 }
412 return std::move(*MaybeOptionsParser);
413}
414
415/**************************************************************************************************/
416// Hyde may accumulate many "fixups" throughout its lifetime. The first of these so far is to move

Callers 2

source_pathsFunction · 0.85
mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected