MCPcopy Create free account
hub / github.com/CruiserOne/Astrolog / ErrorSwitch

Function ErrorSwitch

general.cpp:1551–1557  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1549// Print error message for a completely unknown command switch.
1550
1551void ErrorSwitch(CONST char *szOpt)
1552{
1553 char sz[cchSzDef];
1554
1555 sprintf(sz, "Unknown switch '%s'", szOpt);
1556 PrintError(sz);
1557}
1558
1559
1560// Print error message for a unknown command subswitch.

Callers 5

NProcessSwitchesRareFunction · 0.85
FProcessSwitchesFunction · 0.85
NProcessSwitchesXFunction · 0.85
NProcessSwitchesRareXFunction · 0.85
NProcessSwitchesWFunction · 0.85

Calls 1

PrintErrorFunction · 0.85

Tested by

no test coverage detected