summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5ls.c')
-rw-r--r--tools/h5ls.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/tools/h5ls.c b/tools/h5ls.c
index c17b84c..3692802 100644
--- a/tools/h5ls.c
+++ b/tools/h5ls.c
@@ -1986,8 +1986,9 @@ main (int argc, char *argv[])
} else if (!strcmp(argv[argno], "--verbose")) {
verbose_g++;
} else if (!strcmp(argv[argno], "--version")) {
- printf("This is %s version %u.%u release %u\n",
- progname, H5_VERS_MAJOR, H5_VERS_MINOR, H5_VERS_RELEASE);
+ printf("This is %s version %u.%u release %u%s\n",
+ progname, H5_VERS_MAJOR, H5_VERS_MINOR, H5_VERS_RELEASE,
+ H5_VERS_SUBRELEASE);
exit(0);
} else if (!strcmp(argv[argno], "--hexdump")) {
hexdump_g = TRUE;