ECC-240: fix strict mode

This commit is contained in:
Shahram Najm 2019-06-17 17:07:53 +01:00
parent efc14d5b15
commit 8dcb351133
1 changed files with 1 additions and 0 deletions

View File

@ -102,6 +102,7 @@ int grib_tool_init(grib_runtime_options* options)
int opt=grib_options_on("C")+grib_options_on("O");
options->dump_mode = "default";
options->strict=1; /* Must set here as bufr_dump has its own -S option */
if (opt > 1) {
printf("%s: simultaneous j/C/O options not allowed\n",grib_tool_name);