summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1999-07-13 17:59:21 (GMT)
committerRobb Matzke <matzke@llnl.gov>1999-07-13 17:59:21 (GMT)
commite5cbc027ead6bf15008459236073a00cd3fe1d22 (patch)
tree44744f972c63dbbeaa2712217b55b6434556471a /tools/h5ls.c
parent43ab0ae15710e301d02240ac93ba0bdccadb2bad (diff)
downloadhdf5-e5cbc027ead6bf15008459236073a00cd3fe1d22.zip
hdf5-e5cbc027ead6bf15008459236073a00cd3fe1d22.tar.gz
hdf5-e5cbc027ead6bf15008459236073a00cd3fe1d22.tar.bz2
[svn-r1477] ./h5ls.c [1.2, 1.3]
Fixed usage message.
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 0f2640e..76bcd30 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -88,7 +88,7 @@ static void
usage (const char *progname)
{
fprintf(stderr, "\
-usage: %s [OPTIONS] FILE [OBJECTS...]\n\
+usage: %s [OPTIONS] [OBJECTS...]\n\
OPTIONS\n\
-h, -?, --help Print a usage message and exit\n\
-a, --address Print addresses for raw data\n\
@@ -102,14 +102,13 @@ usage: %s [OPTIONS] FILE [OBJECTS...]\n\
-v, --verbose Generate more verbose output\n\
-V, --version Print version number and exit\n\
-x, --hexdump Show raw data in hexadecimal format\n\
- FILE\n\
- The file name may include a printf(3C) integer format such as\n\
- \"%%05d\" to open a file family.\n\
+\n\
OBJECTS\n\
- The names of zero or more objects about which information should be\n\
- displayed. If a group is mentioned then information about each of its\n\
- members is displayed. If no object names are specified then\n\
- information about all of the objects in the root group is displayed.\n",
+ Each object consists of an HDF5 file name optionally followed by a\n\
+ slash and an object name within the file (if no object is specified\n\
+ within the file then the contents of the root group are dispalyed).\n\
+ The file name may include a printf(3C) integer format such as\n\
+ \"%%05d\" to open a file family.\n",
progname);
}