summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>1998-09-10 14:18:17 (GMT)
committerRobb Matzke <matzke@llnl.gov>1998-09-10 14:18:17 (GMT)
commitd07894304f4a608af828aee0a99dbb875fba1fa1 (patch)
tree44910861a08977105a01a14977abfc164ae11465
parenta56bf7305897beb05bd8ed7dc52b4a9be2d2bd27 (diff)
downloadhdf5-d07894304f4a608af828aee0a99dbb875fba1fa1.zip
hdf5-d07894304f4a608af828aee0a99dbb875fba1fa1.tar.gz
hdf5-d07894304f4a608af828aee0a99dbb875fba1fa1.tar.bz2
[svn-r683] ./tools/h5ls.c
Changed usage message.
-rw-r--r--tools/h5ls.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index 8fbffeb..a328eb8 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -64,7 +64,7 @@ static void
usage (const char *progname)
{
fprintf(stderr, "\
-usage: %s [OPTIONS] FILE [GROUP]\n\
+usage: %s [OPTIONS] FILE [OBJECTS...]\n\
OPTIONS\n\
-h, -?, --help Print a usage message and exit\n\
-d, --dump Print the values of datasets\n\
@@ -74,9 +74,12 @@ usage: %s [OPTIONS] FILE [GROUP]\n\
FILE\n\
The file name may include a printf(3C) integer format such as\n\
\"%%05d\" to open a file family.\n\
- GROUP\n\
- If a group name is not specified then the contents of the root group\n\
- \"/\" are displayed.\n", progname);
+ 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",
+ progname);
}