From 8b0a3c5c1f7971a41c541ffd2f8b3a0612ddb091 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Tue, 21 Aug 2001 14:37:23 -0500 Subject: [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 --- tools/h5dump/h5dump.c | 6 +++--- 1 file 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; -- cgit v0.12