summaryrefslogtreecommitdiffstats
path: root/tools/h5import
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5import')
-rwxr-xr-xtools/h5import/h5import.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/h5import/h5import.c b/tools/h5import/h5import.c
index 1424ac2..f8f518b 100755
--- a/tools/h5import/h5import.c
+++ b/tools/h5import/h5import.c
@@ -20,6 +20,8 @@
#include <string.h>
#include <ctype.h>
#include "h5import.h"
+#include "h5tools_utils.h"
+
int main(int argc, char *argv[])
{
@@ -47,6 +49,13 @@ int main(int argc, char *argv[])
argc = ccommand(&argv);
#endif
+ if ( argv[1] && (strcmp("-V",argv[1])==0) )
+ {
+ print_version("h5import");
+ exit(EXIT_SUCCESS);
+
+ }
+
/*
* validate the number of command line arguments
*/