| 1560 | // Print error message for a unknown command subswitch. |
| 1561 | |
| 1562 | flag 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 |
no test coverage detected