summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-10-25 19:25:55 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-10-25 19:25:55 (GMT)
commitbf78260a06a3f927bed4e79ea2f627041b7f0ae5 (patch)
tree25f3cc68a19349921b1ab67a942c2462ee5b852d
parent47c0884e1f5bd4db6862aefcf7cd47c5f28e8d91 (diff)
downloadhdf5-bf78260a06a3f927bed4e79ea2f627041b7f0ae5.zip
hdf5-bf78260a06a3f927bed4e79ea2f627041b7f0ae5.tar.gz
hdf5-bf78260a06a3f927bed4e79ea2f627041b7f0ae5.tar.bz2
[svn-r2738] Purpose:
Bug Fix Description: People need to type in the full-path to the attribute/dataset/etc. and weren't being told to do so by the "usage" statement. Solution: Added an example and changed <names> to <path> to be more explicit...
-rw-r--r--tools/h5dump.c16
1 files changed, 11 insertions, 5 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index 320e361..882cc85 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -222,16 +222,22 @@ h5dump [-h] [-bb] [-header] [-v] [-V] [-a <names>] [-d <names>] [-g <names>]\n\
-header Display header only; no data is displayed.\n\
-v Display the object ids\n\
-V Display version information and exit.\n\
- -a <names> Display the specified attribute(s).\n\
- -d <names> Display the specified dataset(s).\n\
- -g <names> Display the specified group(s) and all the members.\n\
- -l <names> Display the value(s) of the specified soft link(s).\n\
+ -a <path> Display the specified attribute(s).\n\
+ -d <path> Display the specified dataset(s).\n\
+ -g <path> Display the specified group(s) and all the members.\n\
+ -l <path> Display the value(s) of the specified soft link(s).\n\
-o <fname> Display the raw data of datasets to a separate Output file <fname>.\n\
-t <names> Display the specified named data type(s).\n\
-w <number> Display the information with the specified maximum number of columns.\n\
\n\
- <names> is one or more appropriate object names.\n\
<number> is an integer greater than 1.\n\
+ <path> is the full path from the root group to the object.\n\
+\n\
+ Example:\n\
+\n\
+ Attribute foo of the group /bar_none in file quux.h5\n\
+\n\
+ h5dump -a /bar_none/foo quux.h5\n\
\n");
}