aboutsummaryrefslogtreecommitdiff
path: root/src/util/hdf5_extract.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/hdf5_extract.c')
-rw-r--r--src/util/hdf5_extract.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/util/hdf5_extract.c b/src/util/hdf5_extract.c
index db4391b..4029472 100644
--- a/src/util/hdf5_extract.c
+++ b/src/util/hdf5_extract.c
@@ -102,7 +102,12 @@ int main (int argc, char *argv[])
if (argc != 4)
{
fprintf (stderr, "Usage: %s <listfile> <infile> <outfile>\n", argv[0]);
- fprintf (stderr, " eg, %s extract_list alp.h5 alp_extract.h5\n\n", argv[0]);
+ fprintf (stderr, " where <listfile> can be created from the output of the h5ls command\n\n");
+ fprintf (stderr, " eg, h5ls alp.h5 > listfile\n"
+ " # now edit listfile to select all datasets to be extracted\n"
+ " # (don't forget to remove backslashes and the trailing 'Dataset {...}')\n"
+ " %s extract_list alp.h5 alp_extract.h5\n\n", argv[0]);
+
return (0);
}