summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2013-09-19 16:38:08 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2013-09-19 16:38:08 (GMT)
commit0653325f0d4a92164842bb30b797f130e44cbc68 (patch)
tree15fde81b28e60d8fcae7864edf0281a3ffdca153 /tools
parent4182c81addaaac3e4234369dc5a0089fb93756d9 (diff)
downloadhdf5-0653325f0d4a92164842bb30b797f130e44cbc68.zip
hdf5-0653325f0d4a92164842bb30b797f130e44cbc68.tar.gz
hdf5-0653325f0d4a92164842bb30b797f130e44cbc68.tar.bz2
[svn-r24167] HDFFV-8513, HDFFV-8522 Plugin testing in h5repack, h5dump.
Add more usage info for UserMacros. Add new option information about the Plugin default path. Tested: local linux, jam
Diffstat (limited to 'tools')
-rw-r--r--tools/h5dump/errfiles/filter_fail.err3
-rw-r--r--tools/h5repack/h5repack_main.c37
2 files changed, 27 insertions, 13 deletions
diff --git a/tools/h5dump/errfiles/filter_fail.err b/tools/h5dump/errfiles/filter_fail.err
index 8f0f990..db21044 100644
--- a/tools/h5dump/errfiles/filter_fail.err
+++ b/tools/h5dump/errfiles/filter_fail.err
@@ -14,6 +14,9 @@ HDF5-DIAG: Error detected in HDF5 (version (number)) thread (IDs):
#004: (file name) line (number) in H5Z_pipeline(): required filter 'filter_fail_test' is not registered
major: Data filters
minor: Read failed
+ #005: (file name) line (number) in H5PL_load(): required dynamically loaded plugin filter '312' is not available
+ major: Plugin for dynamically loaded library
+ minor: Unable to load metadata into cache
h5dump error: unable to print data
H5tools-DIAG: Error detected in HDF5:tools (version (number)) thread (IDs):
#000: (file name) line (number) in h5tools_dump_simple_dset(): H5Dread failed
diff --git a/tools/h5repack/h5repack_main.c b/tools/h5repack/h5repack_main.c
index 4c512a4..7d92e4b 100644
--- a/tools/h5repack/h5repack_main.c
+++ b/tools/h5repack/h5repack_main.c
@@ -32,19 +32,30 @@ const char *outfile = NULL;
* parameters.
*/
static const char *s_opts = "hVvf:l:m:e:nLc:d:s:u:b:M:t:a:i:o:S:T:";
-static struct long_options l_opts[] = { { "help", no_arg, 'h' }, { "version",
- no_arg, 'V' }, { "verbose", no_arg, 'v' },
- { "filter", require_arg, 'f' }, { "layout", require_arg, 'l' }, {
- "minimum", require_arg, 'm' }, { "file", require_arg, 'e' }, {
- "native", no_arg, 'n' }, { "latest", no_arg, 'L' }, { "compact",
- require_arg, 'c' }, { "indexed", require_arg, 'd' }, { "ssize",
- require_arg, 's' }, { "ublock", require_arg, 'u' }, { "block",
- require_arg, 'b' }, { "metadata_block_size", require_arg, 'M' },
- { "threshold", require_arg, 't' }, { "alignment", require_arg, 'a' }, {
- "infile", require_arg, 'i' }, /* -i for backward compability */
- { "outfile", require_arg, 'o' }, /* -o for backward compability */
- { "fs_strategy", require_arg, 'S' },
- { "fs_threshold", require_arg, 'T' }, { NULL, 0, '\0' } };
+static struct long_options l_opts[] = {
+ { "help", no_arg, 'h' },
+ { "version", no_arg, 'V' },
+ { "verbose", no_arg, 'v' },
+ { "filter", require_arg, 'f' },
+ { "layout", require_arg, 'l' },
+ { "minimum", require_arg, 'm' },
+ { "file", require_arg, 'e' },
+ { "native", no_arg, 'n' },
+ { "latest", no_arg, 'L' },
+ { "compact", require_arg, 'c' },
+ { "indexed", require_arg, 'd' },
+ { "ssize", require_arg, 's' },
+ { "ublock", require_arg, 'u' },
+ { "block", require_arg, 'b' },
+ { "metadata_block_size", require_arg, 'M' },
+ { "threshold", require_arg, 't' },
+ { "alignment", require_arg, 'a' },
+ { "infile", require_arg, 'i' }, /* -i for backward compability */
+ { "outfile", require_arg, 'o' }, /* -o for backward compability */
+ { "fs_strategy", require_arg, 'S' },
+ { "fs_threshold", require_arg, 'T' },
+ { NULL, 0, '\0' }
+};
/*-------------------------------------------------------------------------
* Function: usage