MCPcopy Create free account
hub / github.com/OpenNFS/OpenNFS / main

Function main

src/main.cpp:407–419  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405};
406
407int main(int argc, char **argv) {
408 Config::get().InitFromCommandLine(argc, argv);
409 std::shared_ptr<Logger> logger = std::make_shared<Logger>();
410
411 try {
412 OpenNFS game(logger);
413 } catch (const std::runtime_error &e) {
414 LOG(WARNING) << e.what();
415 return EXIT_FAILURE;
416 }
417
418 return EXIT_SUCCESS;
419}

Callers

nothing calls this directly

Calls 1

InitFromCommandLineMethod · 0.80

Tested by

no test coverage detected