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

Function bad_negation

src/options.c:6692–6697  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

6690}
6691
6692staticfn void
6693bad_negation(const char *optname, boolean with_parameter)
6694{
6695 config_error_add("The %s option may not %sbe negated.", optname,
6696 with_parameter ? "both have a value and " : "");
6697}
6698
6699/* go through all of the options and set the minmatch value
6700 based on what is needed for uniqueness of each individual

Callers 15

parseoptionsFunction · 0.85
optfn_align_messageFunction · 0.85
optfn_align_statusFunction · 0.85
optfn_discloseFunction · 0.85
optfn_fruitFunction · 0.85
optfn_glyphFunction · 0.85
optfn_map_modeFunction · 0.85
optfn_menu_headingsFunction · 0.85
optfn_msg_windowFunction · 0.85
optfn_msghistoryFunction · 0.85
optfn_number_padFunction · 0.85
optfn_perminv_modeFunction · 0.85

Calls 1

config_error_addFunction · 0.85

Tested by

no test coverage detected