aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2007-05-31 16:12:22 +0000
committertradke <tradke@4825ed28-b72c-4eae-9704-e50c059e567d>2007-05-31 16:12:22 +0000
commit7f7992be716c289b424919eb5bffccc96de42e27 (patch)
treeee6b47eadb9fbca3ddf0d2a52c127c5894422c11
parent7b5feb741983de363a579ead69f0bafb41654ba0 (diff)
give some better help on how to use the hdf5_extract utilitiy program
git-svn-id: http://svn.cactuscode.org/arrangements/CactusPUGHIO/IOHDF5/trunk@230 4825ed28-b72c-4eae-9704-e50c059e567d
-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);
}