summaryrefslogtreecommitdiffstats
path: root/tools/h5ls.c
diff options
context:
space:
mode:
authorRobb Matzke <matzke@llnl.gov>2000-04-07 15:27:48 (GMT)
committerRobb Matzke <matzke@llnl.gov>2000-04-07 15:27:48 (GMT)
commitd9b36b8a7ffa36a8fd532424b3736187287535fe (patch)
treeb4777784325f1e95820fd6095ff210d588821a54 /tools/h5ls.c
parent8fa2e9bd598bbbfecc85a9ed9b3511bc40342fe6 (diff)
downloadhdf5-d9b36b8a7ffa36a8fd532424b3736187287535fe.zip
hdf5-d9b36b8a7ffa36a8fd532424b3736187287535fe.tar.gz
hdf5-d9b36b8a7ffa36a8fd532424b3736187287535fe.tar.bz2
[svn-r2089] ** tools/h5ls.c
Prints the subrelease name also. ** tools/h5tools.c Fixed indentation problems in the first half of the file. Changed conditional compilation style from `/*...*/' to use #if 0/#endif in the first half of this file. Removed some extra parentheses to make expressions more readable.
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;