diff options
author | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-30 16:06:14 (GMT) |
---|---|---|
committer | Jonathan Kim <jkm@hdfgroup.org> | 2011-03-30 16:06:14 (GMT) |
commit | c1899d567ba84358f96cb8d1b9ed1c91cba31531 (patch) | |
tree | 2cf25155f758c5b1e8aea910fb4710b6a1a9cd66 /tools/h5dump | |
parent | 0eb440cdecd7ac5fafeabac102bde31af05cbaa1 (diff) | |
download | hdf5-c1899d567ba84358f96cb8d1b9ed1c91cba31531.zip hdf5-c1899d567ba84358f96cb8d1b9ed1c91cba31531.tar.gz hdf5-c1899d567ba84358f96cb8d1b9ed1c91cba31531.tar.bz2 |
[svn-r20378] Purpose:
Bug 2182 - h5ls and h5dump: update to use --enable-error-stack among tools, also update related descriptions
Description:
Decided to use --enable-error-stack long option name only to
display error stack messages from HDF5 lib among tools.
Updated to unify option name to '--enable-error-stack' for printing
HDF5 error stack messages for HDF5 tools. h5ls and h5dump for now.
For h5ls, this replaces "-e/--errors" option, which is deprecated.
For h5dump, remove -E from help page and RM , which was added by mistake
before release1.8.7.
Help page and RM got updated.
Updated test case.
Tested:
jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), linew (solaris-BE), Windows (32-LE)
Diffstat (limited to 'tools/h5dump')
-rw-r--r-- | tools/h5dump/h5dump.c | 3 | ||||
-rw-r--r-- | tools/h5dump/testh5dump.sh.in | 2 |
2 files changed, 3 insertions, 2 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index eec1265..f479774 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -663,7 +663,8 @@ usage(const char *prog) fprintf(stdout, " -X S, --xml-ns=S (XML Schema) Use qualified names n the XML\n"); fprintf(stdout, " \":\": no namespace, default: \"hdf5:\"\n"); fprintf(stdout, " E.g., to dump a file called `-f', use h5dump -- -f\n"); - fprintf(stdout, " -E, --enable-error-stack Show all HDF5 error reporting\n"); + fprintf(stdout, " --enable-error-stack Prints messages from the HDF5 error stack as they\n"); + fprintf(stdout, " occur.\n"); fprintf(stdout, "\n"); fprintf(stdout, " Subsetting is available by using the following options with a dataset\n"); fprintf(stdout, " attribute. Subsetting is done by selecting a hyperslab from the data.\n"); diff --git a/tools/h5dump/testh5dump.sh.in b/tools/h5dump/testh5dump.sh.in index 37dee72..d7b6cbd 100644 --- a/tools/h5dump/testh5dump.sh.in +++ b/tools/h5dump/testh5dump.sh.in @@ -631,7 +631,7 @@ TOOLTEST textlinkfar.ddl textlinkfar.h5 TOOLTEST textlink.ddl textlink.h5 # test for error stack display (BZ2048) -TOOLTEST3 filter_fail.ddl -E filter_fail.h5 +TOOLTEST3 filter_fail.ddl --enable-error-stack filter_fail.h5 # test for -o -y for dataset with attributes TOOLTEST tall-6.ddl -y -o data -d /g1/g1.1/dset1.1.1 tall.h5 |