summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-03-09 19:16:19 (GMT)
committerPatrick Lu <ptlu@hawkwind.ncsa.uiuc.edu>2000-03-09 19:16:19 (GMT)
commit8ff4e26ee74950df69061f8d9e45c74e0415658d (patch)
tree6cf6605ce53d31ab907534ed0fe5ad7701fbb473
parent01d728817b4a1feb05a957c2784feccabd99152c (diff)
downloadhdf5-8ff4e26ee74950df69061f8d9e45c74e0415658d.zip
hdf5-8ff4e26ee74950df69061f8d9e45c74e0415658d.tar.gz
hdf5-8ff4e26ee74950df69061f8d9e45c74e0415658d.tar.bz2
[svn-r2016] fixed the problem with the -xml option that prevented it from working
unless it was the last argument in the run time options. just added another && condition.
-rw-r--r--tools/h5dump.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/h5dump.c b/tools/h5dump.c
index 298e427..5b4f440 100644
--- a/tools/h5dump.c
+++ b/tools/h5dump.c
@@ -1397,6 +1397,7 @@ main(int argc, char *argv[])
if (opts[i+1]-opts[i] == 1) {
if (strcmp(argv[opts[i]], "-bb") &&
strcmp(argv[opts[i]], "-header") &&
+ strcmp(argv[opts[i]], "-xml") &&
strcmp(argv[opts[i]], "-v")) {
fprintf(stderr,"h5dump error: no <names> after option %s\n",
argv[opts[i]]);