diff options
author | Allen Byrne <50328838+byrnHDF@users.noreply.github.com> | 2022-04-01 20:55:47 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-01 20:55:47 (GMT) |
commit | 2f9c53739b5149875dbb45f3a12091c0782b1d10 (patch) | |
tree | 91220d3f4c06269edbe9d13ba5fef20f60d87843 /tools/src/h5dump | |
parent | 572adbaacb126e530f6af94a90092e004c23a163 (diff) | |
download | hdf5-2f9c53739b5149875dbb45f3a12091c0782b1d10.zip hdf5-2f9c53739b5149875dbb45f3a12091c0782b1d10.tar.gz hdf5-2f9c53739b5149875dbb45f3a12091c0782b1d10.tar.bz2 |
1.12 Move error-stack text to top of usage display #1564 (#1566)
Diffstat (limited to 'tools/src/h5dump')
-rw-r--r-- | tools/src/h5dump/h5dump.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/src/h5dump/h5dump.c b/tools/src/h5dump/h5dump.c index 420bbc7..7c7a845 100644 --- a/tools/src/h5dump/h5dump.c +++ b/tools/src/h5dump/h5dump.c @@ -161,6 +161,12 @@ usage(const char *prog) PRINTVALSTREAM(rawoutstream, " OPTIONS\n"); PRINTVALSTREAM(rawoutstream, " -h, --help Print a usage message and exit\n"); PRINTVALSTREAM(rawoutstream, " -V, --version Print version number and exit\n"); + PRINTVALSTREAM(rawoutstream, "--------------- Error Options ---------------\n"); + PRINTVALSTREAM(rawoutstream, + " --enable-error-stack Prints messages from the HDF5 error stack as they occur.\n"); + PRINTVALSTREAM(rawoutstream, + " Optional value 2 also prints file open errors.\n"); + PRINTVALSTREAM(rawoutstream, " Default setting disables any error reporting.\n"); PRINTVALSTREAM(rawoutstream, "--------------- File Options ---------------\n"); PRINTVALSTREAM(rawoutstream, " -n, --contents Print a list of the file contents and exit\n"); PRINTVALSTREAM(rawoutstream, " Optional value 1 also prints attributes.\n"); @@ -242,10 +248,6 @@ usage(const char *prog) PRINTVALSTREAM(rawoutstream, " -q Q, --sort_by=Q Sort groups and attributes by index Q\n"); PRINTVALSTREAM(rawoutstream, " -z Z, --sort_order=Z Sort groups and attributes by order Z\n"); PRINTVALSTREAM(rawoutstream, - " --enable-error-stack Prints messages from the HDF5 error stack as they occur.\n"); - PRINTVALSTREAM(rawoutstream, - " Optional value 2 also prints file open errors.\n"); - PRINTVALSTREAM(rawoutstream, " --no-compact-subset Disable compact form of subsetting and allow the use\n"); PRINTVALSTREAM(rawoutstream, " of \"[\" in dataset names.\n"); PRINTVALSTREAM(rawoutstream, |