summaryrefslogtreecommitdiffstats
path: root/tools/h5dump/h5dump.c
diff options
context:
space:
mode:
authorAllen Byrne <byrn@hdfgroup.org>2012-03-15 21:21:46 (GMT)
committerAllen Byrne <byrn@hdfgroup.org>2012-03-15 21:21:46 (GMT)
commitf261344af96dc2d41cce61d888cfa3efd8a1c36c (patch)
treed990e7b9da8837b34f7c5be9f0d0c840b0e7163a /tools/h5dump/h5dump.c
parentb337ae979dad938f1ef72df4f67b612a883040b1 (diff)
downloadhdf5-f261344af96dc2d41cce61d888cfa3efd8a1c36c.zip
hdf5-f261344af96dc2d41cce61d888cfa3efd8a1c36c.tar.gz
hdf5-f261344af96dc2d41cce61d888cfa3efd8a1c36c.tar.bz2
[svn-r22077] Add example of multiple files for h5dump help text.
Tested: local linux
Diffstat (limited to 'tools/h5dump/h5dump.c')
-rw-r--r--tools/h5dump/h5dump.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index 3cda4c1..650846a 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -231,7 +231,7 @@ static void
usage(const char *prog)
{
HDfflush(rawoutstream);
- HDfprintf(rawoutstream, "usage: %s [OPTIONS] file\n", prog);
+ HDfprintf(rawoutstream, "usage: %s [OPTIONS] files\n", prog);
HDfprintf(rawoutstream, " OPTIONS\n");
HDfprintf(rawoutstream, " -h, --help Print a usage message and exit\n");
HDfprintf(rawoutstream, " -n, --contents Print a list of the file contents and exit\n");
@@ -329,6 +329,10 @@ usage(const char *prog)
HDfprintf(rawoutstream, "\n");
HDfprintf(rawoutstream, " h5dump -d /dset -M 0,1,4,3 quux.h5\n");
HDfprintf(rawoutstream, "\n");
+ HDfprintf(rawoutstream, " 5) Dataset foo in files multi1.h5 multi2.h5 multi3.h5\n");
+ HDfprintf(rawoutstream, "\n");
+ HDfprintf(rawoutstream, " h5dump -d /foo multi1.h5 multi2.h5 multi3.h5\n");
+ HDfprintf(rawoutstream, "\n");
}