summaryrefslogtreecommitdiffstats
path: root/tools/h5dump
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2001-08-21 19:37:23 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2001-08-21 19:37:23 (GMT)
commit8b0a3c5c1f7971a41c541ffd2f8b3a0612ddb091 (patch)
treea581d549fb1a05842c1183544e73c2f2b3faca65 /tools/h5dump
parent34e312e7c65f79911e44f5b11c4ed51d6c3e720a (diff)
downloadhdf5-8b0a3c5c1f7971a41c541ffd2f8b3a0612ddb091.zip
hdf5-8b0a3c5c1f7971a41c541ffd2f8b3a0612ddb091.tar.gz
hdf5-8b0a3c5c1f7971a41c541ffd2f8b3a0612ddb091.tar.bz2
[svn-r4402]
Purpose: Bug Fix Description: Object IDs command-line options weren't being picked up. Solution: The wrong flag was being checked for. Changed the flag from "v" to "i", which is what the documentation says. Platforms tested: Linux
Diffstat (limited to 'tools/h5dump')
-rw-r--r--tools/h5dump/h5dump.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/tools/h5dump/h5dump.c b/tools/h5dump/h5dump.c
index dfc1a09..beb782c 100644
--- a/tools/h5dump/h5dump.c
+++ b/tools/h5dump/h5dump.c
@@ -392,9 +392,9 @@ struct handler_t {
*/
#if 0
/* binary: not implemented yet */
-static const char *s_opts = "hbBHvVa:d:f:g:l:t:w:xD:o:s:S:c:k:";
+static const char *s_opts = "hbBHiVa:d:f:g:l:t:w:xD:o:s:S:c:k:";
#else
-static const char *s_opts = "hBHvVa:d:f:g:l:t:w:xD:o:s:S:c:k:";
+static const char *s_opts = "hBHiVa:d:f:g:l:t:w:xD:o:s:S:c:k:";
#endif /* 0 */
static struct long_options l_opts[] = {
{ "help", no_arg, 'h' },
@@ -2412,7 +2412,7 @@ parse_start:
display_data = FALSE;
last_was_dset = FALSE;
break;
- case 'v':
+ case 'i':
display_oid = TRUE;
last_was_dset = FALSE;
break;