MCPcopy Create free account
hub / github.com/OpenApoc/OpenApoc / showHelp

Method showHelp

framework/configfile.cpp:365–373  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

363 }
364
365 void showHelp()
366 {
367 std::cout << "Usage: " << this->programName << " [options]";
368 for (auto &arg : positionalArgNames)
369 std::cout << " " << arg;
370 std::cout << "\n";
371 for (auto &optPair : this->optionSections)
372 std::cout << optPair.second << "\n";
373 }
374
375 std::map<UString, std::vector<ConfigOption>> getOptions()
376 {

Callers 1

parseOptionsMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected