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

Function FErrorSubswitch

general.cpp:1562–1572  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1560// Print error message for a unknown command subswitch.
1561
1562flag FErrorSubswitch(CONST char *szOpt, char chSub, flag f)
1563{
1564 char sz[cchSzDef];
1565
1566 if (!f)
1567 return fFalse;
1568 sprintf(sz, "Unknown subswitch '%c%s%c' to command switch '%c%s'",
1569 chSwitch, szOpt, chSub, chSwitch, szOpt);
1570 PrintError(sz);
1571 return fTrue;
1572}
1573
1574
1575#ifdef PLACALC

Callers 1

FProcessSwitchesFunction · 0.85

Calls 1

PrintErrorFunction · 0.85

Tested by

no test coverage detected