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

Function after_opt_showpaths

src/earlyarg.c:390–400  ·  view source on GitHub ↗

show the sysconf file name, playground directory, run-time configuration file name, dumplog file name if applicable, and some other things */

Source from the content-addressed store, hash-verified

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
391after_opt_showpaths(const char *dir)
392{
393#ifdef CHDIR
394 chdirx(dir, FALSE);
395#else
396 nhUse(dir);
397#endif
398 opt_terminate();
399 /*NOTREACHED*/
400}
401
402/* handle "-s <score options> [character-names]" to show all the entries
403 in the high scores file ('record') belonging to particular characters;

Callers 1

do_deferred_showpathsFunction · 0.70

Calls 2

opt_terminateFunction · 0.70
chdirxFunction · 0.50

Tested by

no test coverage detected