summaryrefslogtreecommitdiffstats
path: root/tools/h5diff/h5diff_main.c
diff options
context:
space:
mode:
authorJonathan Kim <jkm@hdfgroup.org>2010-02-18 16:51:12 (GMT)
committerJonathan Kim <jkm@hdfgroup.org>2010-02-18 16:51:12 (GMT)
commitee757e449bda1e93bade0802948023147e157228 (patch)
tree510356444e41821a9b8fbeb02708218d9b5f2317 /tools/h5diff/h5diff_main.c
parentc35f840bcd7df2510154d40b6135bbe37d6acfb5 (diff)
downloadhdf5-ee757e449bda1e93bade0802948023147e157228.zip
hdf5-ee757e449bda1e93bade0802948023147e157228.tar.gz
hdf5-ee757e449bda1e93bade0802948023147e157228.tar.bz2
[svn-r18273] Purpose:
bugzilla 1754: h5diff: support comparing through links. Description: Fix incorrect (or hanging) behavior in parallel mode when specifying invalid combination of command options. (ex: -v and -q , --no-dangling-links without --follow-links) Add relate test case Update h5diffgentest.c due to add test files this and previous time Note: svn #18266 (prior to this) svn #18164 (original check-in) Tested: h5committest (jam, amani and linew)
Diffstat (limited to 'tools/h5diff/h5diff_main.c')
-rw-r--r--tools/h5diff/h5diff_main.c19
1 files changed, 0 insertions, 19 deletions
diff --git a/tools/h5diff/h5diff_main.c b/tools/h5diff/h5diff_main.c
index 6f33bb0..8089161 100644
--- a/tools/h5diff/h5diff_main.c
+++ b/tools/h5diff/h5diff_main.c
@@ -88,25 +88,6 @@ int main(int argc, const char *argv[])
parse_command_line(argc, argv, &fname1, &fname2, &objname1, &objname2, &options);
- /*-------------------------------------------------------------------------
- * check invalid combination of options
- *-----------------------------------------------------------------------*/
- /* no -q(quiet) with -v (verbose) or -r (report) */
- if(options.m_quiet && (options.m_verbose || options.m_report))
- {
- parallel_print("Error: -q (quiet mode) cannot be added to verbose or report modes\n");
- options.err_stat=1;
- goto out;
- }
-
- /* only allow --no-dangling-links along with --follow-links */
- if(options.no_dangle_links && !options.follow_links)
- {
- parallel_print("Error: --no-dangling-links must be used along with --follow-links option.\n");
- options.err_stat=1;
- goto out;
- }
-
/*-------------------------------------------------------------------------
* do the diff
*-------------------------------------------------------------------------