summaryrefslogtreecommitdiffstats
path: root/tools/src/h5diff
diff options
context:
space:
mode:
authorDana Robinson <derobins@hdfgroup.org>2017-11-15 10:58:16 (GMT)
committerDana Robinson <derobins@hdfgroup.org>2017-11-15 10:58:16 (GMT)
commit5ce8dd5e946c85522edd76f3288e7052bde86b8a (patch)
tree6bc41196dc773246135a10dc721d4a705dae6981 /tools/src/h5diff
parent14beb8be8cfc741eb0d83a7be3c7ac90fa76e7a7 (diff)
downloadhdf5-5ce8dd5e946c85522edd76f3288e7052bde86b8a.zip
hdf5-5ce8dd5e946c85522edd76f3288e7052bde86b8a.tar.gz
hdf5-5ce8dd5e946c85522edd76f3288e7052bde86b8a.tar.bz2
Minor warning fixes
Diffstat (limited to 'tools/src/h5diff')
-rw-r--r--tools/src/h5diff/h5diff_common.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/src/h5diff/h5diff_common.c b/tools/src/h5diff/h5diff_common.c
index 532169f..ce5df78 100644
--- a/tools/src/h5diff/h5diff_common.c
+++ b/tools/src/h5diff/h5diff_common.c
@@ -115,14 +115,17 @@ void parse_command_line(int argc,
default:
usage();
h5diff_exit(EXIT_FAILURE);
+ break;
case 'h':
usage();
h5diff_exit(EXIT_SUCCESS);
+ break;
case 'V':
print_version(h5tools_getprogname());
h5diff_exit(EXIT_SUCCESS);
+ break;
case 'v':
opts->m_verbose = 1;