Made helptext print to stderr rather than stdout
This commit is contained in:
parent
e326e9aac9
commit
398d068820
@ -68,7 +68,7 @@ int main(int argc, char **argv)
|
|||||||
be_strict= 1;
|
be_strict= 1;
|
||||||
} else if(strcmp(argv[i],"--help")==0) {
|
} else if(strcmp(argv[i],"--help")==0) {
|
||||||
help:;
|
help:;
|
||||||
printf(
|
fprintf(stderr,
|
||||||
"usage: %s [-o output_path|\"-\"] [--lax|--strict] [source_path|\"-\"]\n",
|
"usage: %s [-o output_path|\"-\"] [--lax|--strict] [source_path|\"-\"]\n",
|
||||||
argv[0]);
|
argv[0]);
|
||||||
exit(0);
|
exit(0);
|
||||||
|
Loading…
Reference in New Issue
Block a user