change help message to reflect new options -uw

This commit is contained in:
Eric 2025-05-27 01:36:27 +02:00
parent 0dba01d98e
commit cd091b6a0c

2
main.c
View file

@ -40,7 +40,7 @@ main(int argc, char *argv[])
break; break;
} }
if (hlp) { if (hlp) {
fprintf(stdout, "Usage: %s -d -h infile outfile\n", prog); fprintf(stdout, "Usage: %s -duhw infile outfile\n", prog);
} else { } else {
if (argc >= 1 && (in = fopen(*argv, "r")) == NULL) { if (argc >= 1 && (in = fopen(*argv, "r")) == NULL) {
fprintf(stderr, "%s: can't open %s\n", prog, *argv); fprintf(stderr, "%s: can't open %s\n", prog, *argv);