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

Function ErrorArgv

general.cpp:1540–1546  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1538// Print error message for a disallowed command switch.
1539
1540void ErrorArgv(CONST char *szOpt)
1541{
1542 char sz[cchSzDef];
1543
1544 sprintf(sz, "The switch %c%s is not allowed now.\n", chSwitch, szOpt);
1545 PrintError(sz);
1546}
1547
1548
1549// Print error message for a completely unknown command switch.

Callers 2

FProcessSwitchesFunction · 0.85
NProcessSwitchesXFunction · 0.85

Calls 1

PrintErrorFunction · 0.85

Tested by

no test coverage detected