better help message
This commit is contained in:
parent
9ca6acd176
commit
4ab69cced3
@ -16,7 +16,7 @@ fprintf(stderr, "* tga_applymap v 0.0.14 [%s] (dwtfywl) Krabulator 1910\n",
|
|||||||
fprintf(stderr, " compiled %s at %s\n", __DATE__, __TIME__);
|
fprintf(stderr, " compiled %s at %s\n", __DATE__, __TIME__);
|
||||||
|
|
||||||
fprintf(stderr, "Usage:\n\ttga_applymap M src.tga color.map dst.tga\n");
|
fprintf(stderr, "Usage:\n\ttga_applymap M src.tga color.map dst.tga\n");
|
||||||
fprintf(stderr, " M is 1 or 2\n");
|
fprintf(stderr, " M is 1 (color mode) or 2 (gray mode)\n");
|
||||||
if (flag) Image_print_version(0);
|
if (flag) Image_print_version(0);
|
||||||
exit(5);
|
exit(5);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user