| 184 | */ |
| 185 | |
| 186 | static void |
| 187 | show_help(const char *command) /* I - Command to describe or NULL */ |
| 188 | { |
| 189 | if (!command) |
| 190 | { |
| 191 | _cupsLangPrintf(stdout, |
| 192 | _("Commands may be abbreviated. Commands are:\n" |
| 193 | "\n" |
| 194 | "exit help quit status ?")); |
| 195 | } |
| 196 | else if (!compare_strings(command, "help", 1) || !strcmp(command, "?")) |
| 197 | _cupsLangPrintf(stdout, _("help\t\tGet help on commands.")); |
| 198 | else if (!compare_strings(command, "status", 4)) |
| 199 | _cupsLangPrintf(stdout, _("status\t\tShow status of daemon and queue.")); |
| 200 | else |
| 201 | _cupsLangPrintf(stdout, _("?Invalid help command unknown.")); |
| 202 | } |
| 203 | |
| 204 | |
| 205 | /* |
no test coverage detected