From ac878ef07e3cdded4e16625879a1b19a9b798448 Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 21 Aug 2020 11:29:16 +0100 Subject: [PATCH] Documentation. bufr_compare does not have a -P option --- tools/bufr_compare.c | 4 ++-- tools/grib_compare.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/bufr_compare.c b/tools/bufr_compare.c index 0768d37c5..3077fee10 100644 --- a/tools/bufr_compare.c +++ b/tools/bufr_compare.c @@ -219,7 +219,7 @@ grib_option grib_options[] = { { "R:", 0, 0, 0, 1, 0 }, { "A:", 0, 0, 0, 1, 0 }, /* {"P",0,"Compare data values using the packing error as tolerance.\n",0,1,0},*/ - { "t:", "factor", "Compare data values using factor multiplied by the tolerance specified in options -P -R -A.\n", 0, 1, 0 }, + { "t:", "factor", "Compare data values using factor multiplied by the tolerance specified in options -R -A.\n", 0, 1, 0 }, { "w:", 0, 0, 0, 1, 0 }, { "f", 0, 0, 0, 1, 0 }, { "F", 0, 0, 1, 0, 0 }, @@ -239,7 +239,7 @@ static int end = -1; const char* tool_description = "Compare BUFR messages contained in two files." "\n\tIf some differences are found it fails returning an error code." - "\n\tFloating-point values are compared exactly by default, different tolerance can be defined see -P -A -R." + "\n\tFloating-point values are compared exactly by default, different tolerances can be defined (see -A -R)." "\n\tDefault behaviour: absolute error=0, bit-by-bit compare, same order in files."; const char* tool_name = "bufr_compare"; diff --git a/tools/grib_compare.c b/tools/grib_compare.c index 9af9b8c9c..8b238272b 100644 --- a/tools/grib_compare.c +++ b/tools/grib_compare.c @@ -168,7 +168,7 @@ static int theEnd = -1; const char* tool_description = "Compare GRIB messages contained in two files." "\n\tIf some differences are found it fails returning an error code." - "\n\tFloating-point values are compared exactly by default, different tolerance can be defined see -P -A -R." + "\n\tFloating-point values are compared exactly by default, different tolerances can be defined (see -P -A -R)." "\n\tDefault behaviour: absolute error=0, bit-by-bit compare, same order in files."; const char* tool_name = "grib_compare";