diff options
Diffstat (limited to 'tools/h5import')
-rwxr-xr-x | tools/h5import/h5import.c | 9 |
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 */ |