Patch: Redundant output from `h5cc -help`


#1

Currently the output from h5cc -help contains redundant output:

$ h5cc -help
usage: h5cc [OPTIONS] <compile line>
  OPTIONS:
    -help        This help message.
    -echo        Show all the shell commands executed
    -prefix=DIR  Prefix directory to find HDF5 lib/ and include/
                   subdirectories [default: /usr/local]
usage: h5cc [OPTIONS] <compile line>
  OPTIONS:
    -help        This help message.
    -echo        Show all the shell commands executed
    -prefix=DIR  Prefix directory to find HDF5 lib/ and include/
                   subdirectories [default: /usr/local]
    -show        Show the commands without executing them
    -showconfig  Show the HDF5 library configuration summary
# ..snip...

Please consider applying the following patch:

--- hdf5-1.10.6/bin/h5cc.in.orig        2020-01-21
+++ hdf5-1.10.6/bin/h5cc.in             2020-01-21
@@ -121,13 +121,6 @@
   echo "    -echo        Show all the shell commands executed"
   echo "    -prefix=DIR  Prefix directory to find HDF5 lib/ and include/"
   echo "                   subdirectories [default: $prefix]"
-  # A wonderfully informative "usage" message.
-  echo "usage: $prog_name [OPTIONS] <compile line>"
-  echo "  OPTIONS:"
-  echo "    -help        This help message."
-  echo "    -echo        Show all the shell commands executed"
-  echo "    -prefix=DIR  Prefix directory to find HDF5 lib/ and include/"
-  echo "                   subdirectories [default: $prefix]"
   echo "    -show        Show the commands without executing them"
   echo "    -showconfig  Show the HDF5 library configuration summary"
   echo "    -shlib       Compile with shared HDF5 libraries [default for hdf5 built"

#2

Done for develop, will propagate to 1.10 and 1.12 for next releases.

Thanks!

Larry