diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2016-07-18 00:18:42 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2016-07-18 00:18:42 (GMT) |
commit | bb19817c9fd5d46cdc1ab5a396f38f0561dfa167 (patch) | |
tree | 69498cabeabf6f68faa23b835e24cb7ef4f80563 /tools/h5ls/h5ls.c | |
parent | c8f4641507bf4ca85c70c39c786c07f8ef4a24ed (diff) | |
download | hdf5-bb19817c9fd5d46cdc1ab5a396f38f0561dfa167.zip hdf5-bb19817c9fd5d46cdc1ab5a396f38f0561dfa167.tar.gz hdf5-bb19817c9fd5d46cdc1ab5a396f38f0561dfa167.tar.bz2 |
[svn-r30189] Description:
Clean up more warnings: drop the warning count from ~1310 down to ~940,
with only 31 types of warnings in 148 files (down from 38 types in 167 files).
Tested on:
MacOSX/64 10.11.5 (amazon) w/serial & parallel
(h5committest forthcoming)
Diffstat (limited to 'tools/h5ls/h5ls.c')
-rw-r--r-- | tools/h5ls/h5ls.c | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/tools/h5ls/h5ls.c b/tools/h5ls/h5ls.c index 98468c9..62de46c 100644 --- a/tools/h5ls/h5ls.c +++ b/tools/h5ls/h5ls.c @@ -196,7 +196,9 @@ usage: %s [OPTIONS] file[/OBJECT] [file[/[OBJECT]...]\n\ as a soft link or external link and prints the value\n\ assigned to the symbolic link; it does not provide any\n\ information regarding the target object or determine\n\ - whether the link is a dangling link.\n\ + whether the link is a dangling link.\n", + h5tools_getprogname()); + HDfprintf(rawerrorstream, "\ --no-dangling-links\n\ Must be used with --follow-symlinks option;\n\ otherwise, h5ls shows error message and returns an exit\n\ @@ -216,7 +218,8 @@ usage: %s [OPTIONS] file[/OBJECT] [file[/[OBJECT]...]\n\ -v, --verbose Generate more verbose output\n\ -V, --version Print version number and exit\n\ --vfd=DRIVER Use the specified virtual file driver\n\ - -x, --hexdump Show raw data in hexadecimal format\n\ + -x, --hexdump Show raw data in hexadecimal format\n"); + HDfprintf(rawerrorstream, "\ \n\ file/OBJECT\n\ Each object consists of an HDF5 file name optionally followed by a\n\ @@ -235,8 +238,7 @@ usage: %s [OPTIONS] file[/OBJECT] [file[/[OBJECT]...]\n\ -E or --external Follow external links.\n\ Replaced by --follow-symlinks.\n\ -e, --errors Show all HDF5 error reporting\n\ - Replaced by --enable-error-stack.\n", - h5tools_getprogname()); + Replaced by --enable-error-stack.\n"); } |