diff options
author | Glenn Song <43005495+glennsong09@users.noreply.github.com> | 2023-10-20 18:28:10 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-10-20 18:28:10 (GMT) |
commit | 2d551c9b57a176dd23654e42e32d42f8e5aeb21f (patch) | |
tree | e142fdb6553e9b2b0a74f01aa38fe9e789ddc2fb /fortran/src/h5fc.in | |
parent | b5c63fb3fe6ee04b41d80368b406b5d45502ba00 (diff) | |
download | hdf5-2d551c9b57a176dd23654e42e32d42f8e5aeb21f.zip hdf5-2d551c9b57a176dd23654e42e32d42f8e5aeb21f.tar.gz hdf5-2d551c9b57a176dd23654e42e32d42f8e5aeb21f.tar.bz2 |
Add -h and --help as flags in h5cc & h5fc (#3729)
Adds these common help flags in addition to -help
Diffstat (limited to 'fortran/src/h5fc.in')
-rw-r--r-- | fortran/src/h5fc.in | 22 |
1 files changed, 14 insertions, 8 deletions
diff --git a/fortran/src/h5fc.in b/fortran/src/h5fc.in index b793648..c5da815 100644 --- a/fortran/src/h5fc.in +++ b/fortran/src/h5fc.in @@ -110,15 +110,15 @@ usage() { # 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" + echo " -help | --help | -h 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" echo " without static libraries]" - echo " -noshlib Compile with static HDF5 libraries [default for hdf5 built" + echo " -noshlib Compile with static HDF5 libraries [default for hdf5 built" echo " with static libraries]" echo " " echo " <compile line> - the normal compile line options for your compiler." @@ -230,6 +230,12 @@ for arg in $@ ; do -help) usage ;; + --help) + usage + ;; + -h) + usage + ;; *\"*) qarg="'"$arg"'" allargs="$allargs $qarg" |