MCPcopy Create free account
hub / github.com/NetHack/NetHack / opt_usage

Function opt_usage

src/earlyarg.c:375–387  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

373}
374
375ATTRNORETURN staticfn void
376opt_usage(const char *hackdir)
377{
378#ifdef CHDIR
379 chdirx(hackdir, TRUE);
380#else
381 nhUse(hackdir);
382#endif
383 dlb_init();
384
385 genl_display_file(USAGEHELP, TRUE);
386 opt_terminate();
387}
388/* show the sysconf file name, playground directory, run-time configuration
389 file name, dumplog file name if applicable, and some other things */
390ATTRNORETURN void

Callers 1

early_optionsFunction · 0.85

Calls 4

dlb_initFunction · 0.85
genl_display_fileFunction · 0.85
opt_terminateFunction · 0.70
chdirxFunction · 0.50

Tested by

no test coverage detected