summaryrefslogtreecommitdiffstats
path: root/tools/src/h5ls/h5ls.c
diff options
context:
space:
mode:
authorAllen Byrne <50328838+byrnHDF@users.noreply.github.com>2022-04-01 20:55:47 (GMT)
committerGitHub <noreply@github.com>2022-04-01 20:55:47 (GMT)
commit2f9c53739b5149875dbb45f3a12091c0782b1d10 (patch)
tree91220d3f4c06269edbe9d13ba5fef20f60d87843 /tools/src/h5ls/h5ls.c
parent572adbaacb126e530f6af94a90092e004c23a163 (diff)
downloadhdf5-2f9c53739b5149875dbb45f3a12091c0782b1d10.zip
hdf5-2f9c53739b5149875dbb45f3a12091c0782b1d10.tar.gz
hdf5-2f9c53739b5149875dbb45f3a12091c0782b1d10.tar.bz2
1.12 Move error-stack text to top of usage display #1564 (#1566)
Diffstat (limited to 'tools/src/h5ls/h5ls.c')
-rw-r--r--tools/src/h5ls/h5ls.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/src/h5ls/h5ls.c b/tools/src/h5ls/h5ls.c
index 6f65909..1ccf8b2 100644
--- a/tools/src/h5ls/h5ls.c
+++ b/tools/src/h5ls/h5ls.c
@@ -2520,7 +2520,7 @@ done:
* were borrowed from the GNU less(1).
*
* Return: Success: Number of columns.
- * Failure: Some default number of columms.
+ * Failure: Some default number of columns.
*-------------------------------------------------------------------------
*/
static int
@@ -2684,7 +2684,7 @@ main(int argc, char *argv[])
/* Initialize h5tools lib */
h5tools_init();
- /* Initialize fapl info struct */
+ /* Initialize fapl info structs */
HDmemset(&vol_info, 0, sizeof(h5tools_vol_info_t));
/* Build object display table */
@@ -2714,9 +2714,9 @@ main(int argc, char *argv[])
}
else if (!HDstrcmp(argv[argno], "--enable-error-stack")) {
enable_error_stack = 1;
- /* deprecated --errors */
}
else if (!HDstrcmp(argv[argno], "--errors")) {
+ /* deprecated --errors */
enable_error_stack = 1;
}
else if (!HDstrcmp(argv[argno], "--follow-symlinks")) {