diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-24 18:40:45 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2001-04-24 18:40:45 (GMT) |
commit | ce4408e0743c3c0149a113e0bdf7e30073cbb6c6 (patch) | |
tree | 2b7b728d5e467061e692d82fa14726d637781a68 /tools | |
parent | 7fcdd02d18d0f5a0e80d0fd86a8c1e81a5224b85 (diff) | |
download | hdf5-ce4408e0743c3c0149a113e0bdf7e30073cbb6c6.zip hdf5-ce4408e0743c3c0149a113e0bdf7e30073cbb6c6.tar.gz hdf5-ce4408e0743c3c0149a113e0bdf7e30073cbb6c6.tar.bz2 |
[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
Diffstat (limited to 'tools')
-rw-r--r-- | tools/h5dump/h5dump.c | 4 |
1 files 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; |