summaryrefslogtreecommitdiffstats
path: root/tools/h5debug.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/h5debug.c')
-rw-r--r--tools/h5debug.c7
1 files changed, 6 insertions, 1 deletions
diff --git a/tools/h5debug.c b/tools/h5debug.c
index c2364a1..ff6b5fe 100644
--- a/tools/h5debug.c
+++ b/tools/h5debug.c
@@ -27,7 +27,6 @@
/* File drivers */
#include <H5FDfamily.h>
-
#define INDENT 3
#define VCOL 50
@@ -59,6 +58,12 @@ main(int argc, char *argv[])
intn i, ndims;
herr_t status = SUCCEED;
+ if (argc == 1) {
+ fprintf(stderr,
+ "Usage: %s filename [signature addr [extra]]\n", argv[0]);
+ HDexit(1);
+ }
+
/*
* Open the file and get the file descriptor.
*/