summaryrefslogtreecommitdiffstats
path: root/tools/h5dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5dump.c')
-rw-r--r--tools/h5dump.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index dde74b5..f50f487 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -1267,6 +1267,9 @@ H5Eset_auto (NULL, NULL);
exit(1);
}
+/*init the programtype var fromt he tools lib*/
+ programtype = H5DUMP;
+
opts = malloc((argc/2) * sizeof (int));
opts[0] = -1;
/* parse command line options */