summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_common.c
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-17 22:26:14 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2008-10-17 22:26:14 (GMT)
commit6c262bfc9359e274c6a2b8234c34e4415d8146ed (patch)
tree1c56e362d3125b421110a60bec835810f4b71692 /tools/h5diff/h5diff_common.c
parent1b86e5a5297dc6670ff284f98202330e74201943 (diff)
downloadhdf5-6c262bfc9359e274c6a2b8234c34e4415d8146ed.zip
hdf5-6c262bfc9359e274c6a2b8234c34e4415d8146ed.tar.gz
hdf5-6c262bfc9359e274c6a2b8234c34e4415d8146ed.tar.bz2
[svn-r15899] Extend the -c flag for ignore graph differences to ignore different group names
This is used in the h5copy test that compares renaming of groups Tested: linux
Diffstat (limited to 'tools/h5diff/h5diff_common.c')
-rw-r--r--tools/h5diff/h5diff_common.c27
1 files changed, 2 insertions, 25 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c
index 986a0c0..cfe61f5 100644
--- a/tools/h5diff/h5diff_common.c
+++ b/tools/h5diff/h5diff_common.c
@@ -65,12 +65,7 @@ void parse_command_line(int argc,
int opt;
- /* process the command-line */
- memset(options, 0, sizeof (diff_opt_t));
-
- /* assume equal contents initially */
- options->contents = 1;
-
+
/* parse command line options */
while ((opt = get_option(argc, argv, s_opts, l_opts)) != EOF)
{
@@ -146,25 +141,7 @@ void parse_command_line(int argc,
h5diff_exit(EXIT_FAILURE);
}
- *fname1 = argv[ opt_ind ];
- *fname2 = argv[ opt_ind + 1 ];
- *objname1 = argv[ opt_ind + 2 ];
-
- if ( *objname1 == NULL )
- {
- *objname2 = NULL;
- return;
- }
-
- if ( argv[ opt_ind + 3 ] != NULL)
- {
- *objname2 = argv[ opt_ind + 3 ];
- }
- else
- {
- *objname2 = *objname1;
- }
-
+
}