ECC-779: error messages should go to stderr

This commit is contained in:
Shahram Najm 2021-03-09 15:26:13 +00:00
parent ad00a7fda9
commit 0b25def059
1 changed files with 1 additions and 1 deletions

View File

@ -69,7 +69,7 @@ int grib_tool_init(grib_runtime_options* options)
options->dump_mode = "default"; options->dump_mode = "default";
if (opt > 1) { if (opt > 1) {
printf("%s: simultaneous j/O/D options not allowed\n", tool_name); fprintf(stderr, "%s: simultaneous j/O/D options not allowed\n", tool_name);
exit(1); exit(1);
} }