trunk/src/mess/tools/floptool/main.c
| r243806 | r243807 | |
| 124 | 124 | fprintf(stderr, "Usage: \n"); |
| 125 | 125 | fprintf(stderr, " floptool.exe identify <inputfile> [<inputfile> ...]\n"); |
| 126 | 126 | fprintf(stderr, " floptool.exe convert [input_format|auto] output_format <inputfile> <outputfile>\n"); |
| 127 | fprintf(stderr, " floptool.exe stream-to-flux <inputfile> <outputfile> [half|quarter|<track> <subtrack> <head>]\n"); |
| 127 | 128 | } |
| 128 | 129 | |
| 129 | 130 | static void display_formats() |
| r243806 | r243807 | |
| 265 | 266 | |
| 266 | 267 | if (!core_stricmp("identify", argv[1])) |
| 267 | 268 | return identify(argc, argv); |
| 269 | |
| 268 | 270 | else if (!core_stricmp("convert", argv[1])) |
| 269 | 271 | return convert(argc, argv); |
| 272 | |
| 273 | else if (!core_stricmp("stream-to-flux", argv[1])) |
| 274 | return stream_to_flux(argc, argv); |
| 275 | |
| 270 | 276 | else { |
| 271 | 277 | fprintf(stderr, "Unknown command '%s'\n\n", argv[1]); |
| 272 | 278 | display_usage(); |