| 1163 | // short usage from firebird.msg |
| 1164 | |
| 1165 | void usage(bool listSwitches) |
| 1166 | { |
| 1167 | for (int i = 19; i <= 33; ++i) |
| 1168 | { |
| 1169 | printf("%s\n", getMessage(i).c_str()); |
| 1170 | } |
| 1171 | |
| 1172 | if (! listSwitches) |
| 1173 | { |
| 1174 | printf("%s\n", getMessage(53).c_str()); |
| 1175 | } |
| 1176 | else |
| 1177 | { |
| 1178 | printf("\n%s\n", getMessage(54).c_str()); |
| 1179 | printHelp(0, attSwitch); |
| 1180 | |
| 1181 | printf("\n%s\n", getMessage(55).c_str()); |
| 1182 | printHelp(0, infSwitch); |
| 1183 | |
| 1184 | printf("\n%s\n", getMessage(56).c_str()); |
| 1185 | printHelp(0, actionSwitch); |
| 1186 | } |
| 1187 | } |
| 1188 | |
| 1189 | |
| 1190 | // simple main function |
no test coverage detected