MCPcopy Index your code
hub / github.com/NetHack/NetHack / rejectoption

Function rejectoption

src/options.c:6811–6820  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6809}
6810
6811staticfn void
6812rejectoption(const char *optname)
6813{
6814#ifdef MICRO
6815 pline("\"%s\" settable only from %s.", optname, get_configfile());
6816#else
6817 pline("%s can be set only from NETHACKOPTIONS or %s.", optname,
6818 get_configfile());
6819#endif
6820}
6821
6822/*
6823

Callers 1

string_for_env_optFunction · 0.85

Calls 2

get_configfileFunction · 0.85
plineFunction · 0.70

Tested by

no test coverage detected