summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2011-03-11 15:48:24 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2011-03-11 15:48:24 (GMT)
commitaf499b53eb938781a306676787c3bcf97e44d8c2 (patch)
tree3d68e9888826ce7ad788bf4f9d290ba142a0026b /tools
parent6182661d91d679ebedea7f533aa2ef66c2d32f4f (diff)
downloadhdf5-af499b53eb938781a306676787c3bcf97e44d8c2.zip
hdf5-af499b53eb938781a306676787c3bcf97e44d8c2.tar.gz
hdf5-af499b53eb938781a306676787c3bcf97e44d8c2.tar.bz2
[svn-r20231] Purpose:
Fixed Bug 1904 - h5ls : usage of '-a' option is not clear to display expected output Description: Fixed incorrect content and improved help page for -a option of h5ls. Tested: jam (linux32-LE), amani (linux64-LE), heiwa (linuxppc64-BE), tejeda (mac32-LE), Cmake (jam)
Diffstat (limited to 'tools')
-rw-r--r--tools/h5ls/h5ls.c6
-rw-r--r--tools/testfiles/help-1.ls6
-rw-r--r--tools/testfiles/help-2.ls6
-rw-r--r--tools/testfiles/help-3.ls6
-rw-r--r--tools/testfiles/textlinksrc-nodangle-1.ls6
-rw-r--r--tools/testfiles/tgroup-1.ls6
6 files changed, 30 insertions, 6 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c
index d2233ce..e670470 100644
--- a/tools/h5ls/h5ls.c
+++ b/tools/h5ls/h5ls.c
@@ -105,7 +105,11 @@ usage (void)
usage: %s [OPTIONS] [OBJECTS...]\n\
OPTIONS\n\
-h, -?, --help Print a usage message and exit\n\
- -a, --address Print addresses for raw data\n\
+ -a, --address Print raw data address. If dataset is contiguous, address\n\
+ is offset in file of beginning of raw data. If chunked,\n\
+ returned list of addresses indicates offset of each chunk.\n\
+ Must be used with -v, --verbose option.\n\
+ Provides no information for non-dataset objects.\n\
-d, --data Print the values of datasets\n\
-e, --errors Show all HDF5 error reporting\n\
--follow-symlinks\n\
diff --git a/tools/testfiles/help-1.ls b/tools/testfiles/help-1.ls
index 6a2904e..7f8879c 100644
--- a/tools/testfiles/help-1.ls
+++ b/tools/testfiles/help-1.ls
@@ -4,7 +4,11 @@
usage: h5ls [OPTIONS] [OBJECTS...]
OPTIONS
-h, -?, --help Print a usage message and exit
- -a, --address Print addresses for raw data
+ -a, --address Print raw data address. If dataset is contiguous, address
+ is offset in file of beginning of raw data. If chunked,
+ returned list of addresses indicates offset of each chunk.
+ Must be used with -v, --verbose option.
+ Provides no information for non-dataset objects.
-d, --data Print the values of datasets
-e, --errors Show all HDF5 error reporting
--follow-symlinks
diff --git a/tools/testfiles/help-2.ls b/tools/testfiles/help-2.ls
index 92163d1..8bc31fb 100644
--- a/tools/testfiles/help-2.ls
+++ b/tools/testfiles/help-2.ls
@@ -4,7 +4,11 @@
usage: h5ls [OPTIONS] [OBJECTS...]
OPTIONS
-h, -?, --help Print a usage message and exit
- -a, --address Print addresses for raw data
+ -a, --address Print raw data address. If dataset is contiguous, address
+ is offset in file of beginning of raw data. If chunked,
+ returned list of addresses indicates offset of each chunk.
+ Must be used with -v, --verbose option.
+ Provides no information for non-dataset objects.
-d, --data Print the values of datasets
-e, --errors Show all HDF5 error reporting
--follow-symlinks
diff --git a/tools/testfiles/help-3.ls b/tools/testfiles/help-3.ls
index 7199815..29aed97 100644
--- a/tools/testfiles/help-3.ls
+++ b/tools/testfiles/help-3.ls
@@ -4,7 +4,11 @@
usage: h5ls [OPTIONS] [OBJECTS...]
OPTIONS
-h, -?, --help Print a usage message and exit
- -a, --address Print addresses for raw data
+ -a, --address Print raw data address. If dataset is contiguous, address
+ is offset in file of beginning of raw data. If chunked,
+ returned list of addresses indicates offset of each chunk.
+ Must be used with -v, --verbose option.
+ Provides no information for non-dataset objects.
-d, --data Print the values of datasets
-e, --errors Show all HDF5 error reporting
--follow-symlinks
diff --git a/tools/testfiles/textlinksrc-nodangle-1.ls b/tools/testfiles/textlinksrc-nodangle-1.ls
index 8a6144b..306c4f9 100644
--- a/tools/testfiles/textlinksrc-nodangle-1.ls
+++ b/tools/testfiles/textlinksrc-nodangle-1.ls
@@ -6,7 +6,11 @@ Error: --no-dangling-links must be used along with --follow-symlinks option!
usage: h5ls [OPTIONS] [OBJECTS...]
OPTIONS
-h, -?, --help Print a usage message and exit
- -a, --address Print addresses for raw data
+ -a, --address Print raw data address. If dataset is contiguous, address
+ is offset in file of beginning of raw data. If chunked,
+ returned list of addresses indicates offset of each chunk.
+ Must be used with -v, --verbose option.
+ Provides no information for non-dataset objects.
-d, --data Print the values of datasets
-e, --errors Show all HDF5 error reporting
--follow-symlinks
diff --git a/tools/testfiles/tgroup-1.ls b/tools/testfiles/tgroup-1.ls
index 03a70fd..54c139c 100644
--- a/tools/testfiles/tgroup-1.ls
+++ b/tools/testfiles/tgroup-1.ls
@@ -6,7 +6,11 @@ Error: 'recursive' option not compatible with 'group info' option!
usage: h5ls [OPTIONS] [OBJECTS...]
OPTIONS
-h, -?, --help Print a usage message and exit
- -a, --address Print addresses for raw data
+ -a, --address Print raw data address. If dataset is contiguous, address
+ is offset in file of beginning of raw data. If chunked,
+ returned list of addresses indicates offset of each chunk.
+ Must be used with -v, --verbose option.
+ Provides no information for non-dataset objects.
-d, --data Print the values of datasets
-e, --errors Show all HDF5 error reporting
--follow-symlinks