From ce4408e0743c3c0149a113e0bdf7e30073cbb6c6 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 24 Apr 2001 13:40:45 -0500 Subject: [svn-r3840] Purpose: small bug fix Description: If specifying --stride, it was checking for the wrong short-form of the command-line parameters. Solution: Changed the 'T' to 'S' which is the new short form for the stride option. Platforms tested: Linux --- tools/h5dump/h5dump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c index 82f3279..2e82fa4 100644 --- a/tools/h5dump/h5dump.c +++ b/tools/h5dump/h5dump.c @@ -2532,7 +2532,7 @@ parse_start: do { switch ((char)opt) { case 's': free(s->start); s->start = parse_hsize_list(opt_arg); break; - case 'T': free(s->stride); s->stride = parse_hsize_list(opt_arg); break; + case 'S': free(s->stride); s->stride = parse_hsize_list(opt_arg); break; case 'c': free(s->count); s->count = parse_hsize_list(opt_arg); break; case 'k': free(s->block); s->block = parse_hsize_list(opt_arg); break; default: goto end_collect; @@ -2715,7 +2715,7 @@ main(int argc, const char *argv[]) info.dset_table = dset_table; info.status = d_status; - if (doxml) { + If (doxml) { /* initialize XML */ thefile = fid; -- cgit v0.12