From d66367fe0cc2fac90332986ade38b2d4c8aa93ac Mon Sep 17 00:00:00 2001 From: Shahram Najm Date: Fri, 10 Feb 2017 10:59:54 +0000 Subject: [PATCH] bufr_copy/bufr_ls: remove -B option (ordering only works on GRIB fieldsets) --- tools/bufr_copy.c | 2 +- tools/bufr_ls.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/bufr_copy.c b/tools/bufr_copy.c index 88a0d82ba..748c2db3d 100644 --- a/tools/bufr_copy.c +++ b/tools/bufr_copy.c @@ -34,7 +34,7 @@ grib_option grib_options[]={ "copied to the\n\t\toutput_bufr_file.\n\t\tFor each key a string (key:s), a " "double (key:d) or an integer (key:i)\n\t\ttype can be defined. Default type " "is string.\n",0,1,0}, - {"B:",0,0,0,1,0}, +/* {"B:",0,0,0,1,0}, */ {"V",0,0,0,1,0}, {"W:",0,0,0,1,0}, {"U",0,0,1,0,0}, diff --git a/tools/bufr_ls.c b/tools/bufr_ls.c index c8d7586fe..af63da110 100644 --- a/tools/bufr_ls.c +++ b/tools/bufr_ls.c @@ -22,7 +22,7 @@ grib_option grib_options[]={ {"P:",0,0,0,1,0}, {"w:",0,0,0,1,0}, /* {"j",0,"JSON output\n",0,1,0}, */ - {"B:",0,0,0,1,0}, +/* {"B:",0,0,0,1,0}, */ {"s:",0,0,0,1,0}, {"n:",0,0,1,1,"ls"}, {"m",0,0,0,1,0}, @@ -40,7 +40,7 @@ grib_option grib_options[]={ char* grib_tool_description="List content of BUFR files printing values of " "some keys.\n\tIt does not fail when a key is not found."; char* grib_tool_name="bufr_ls"; -char* grib_tool_usage="[options] file file ..."; +char* grib_tool_usage="[options] bufr_file bufr_file ..."; int grib_options_count=sizeof(grib_options)/sizeof(grib_option);