| 98 | } |
| 99 | |
| 100 | void PrintUsage(const char* program) { |
| 101 | printf( |
| 102 | "Usage:\n" |
| 103 | " %s --help | --help-psm | --help-oem | --version\n" |
| 104 | " %s --list-langs [--tessdata-dir PATH]\n" |
| 105 | " %s --print-parameters [options...] [configfile...]\n" |
| 106 | " %s imagename|stdin outputbase|stdout [options...] [configfile...]\n", |
| 107 | program, program, program, program); |
| 108 | } |
| 109 | |
| 110 | void PrintHelpForPSM() { |
| 111 | const char* msg = |