diff options
author | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-10-17 23:45:32 (GMT) |
---|---|---|
committer | Pedro Vicente Nunes <pvn@hdfgroup.org> | 2008-10-17 23:45:32 (GMT) |
commit | 1e1bcb801cb2b569ffa2a94cce2433da2917d919 (patch) | |
tree | e39ca49188f0f01382a881349ddd2c3cd58d3d1d /tools/h5diff/h5diff_common.c | |
parent | 6c262bfc9359e274c6a2b8234c34e4415d8146ed (diff) | |
download | hdf5-1e1bcb801cb2b569ffa2a94cce2433da2917d919.zip hdf5-1e1bcb801cb2b569ffa2a94cce2433da2917d919.tar.gz hdf5-1e1bcb801cb2b569ffa2a94cce2433da2917d919.tar.bz2 |
[svn-r15900] Make the h5copy test that renames a group to return 1 on the h5diff call and assume 1 is the correct result
Drop the -c flag for h5diff
Tested: linux
Diffstat (limited to 'tools/h5diff/h5diff_common.c')
-rw-r--r-- | tools/h5diff/h5diff_common.c | 13 |
1 files changed, 1 insertions, 12 deletions
diff --git a/tools/h5diff/h5diff_common.c b/tools/h5diff/h5diff_common.c index cfe61f5..a698921 100644 --- a/tools/h5diff/h5diff_common.c +++ b/tools/h5diff/h5diff_common.c @@ -31,7 +31,7 @@ const char *progname = "h5diff"; * Command-line options: The user can specify short or long-named * parameters. */ -static const char *s_opts = "hVrvqn:d:p:c"; +static const char *s_opts = "hVrvqn:d:p:"; static struct long_options l_opts[] = { { "help", no_arg, 'h' }, { "version", no_arg, 'V' }, @@ -41,7 +41,6 @@ static struct long_options l_opts[] = { { "count", require_arg, 'n' }, { "delta", require_arg, 'd' }, { "relative", require_arg, 'p' }, - { "contents", no_arg, 'c' }, { NULL, 0, '\0' } }; @@ -56,10 +55,6 @@ static struct long_options l_opts[] = { void parse_command_line(int argc, const char* argv[], - const char** fname1, - const char** fname2, - const char** objname1, - const char** objname2, diff_opt_t* options) { @@ -90,10 +85,6 @@ void parse_command_line(int argc, case 'r': options->m_report = 1; break; - case 'c': - /* ignore graph comparison in return value */ - options->m_no_contents = 1; - break; case 'd': options->d=1; @@ -304,8 +295,6 @@ void usage(void) printf(" -r, --report Report mode. Print differences\n"); printf(" -v, --verbose Verbose mode. Print differences, list of objects\n"); printf(" -q, --quiet Quiet mode. Do not do output\n"); - printf(" -c, --contents Ignore graph contents differences in return value\n"); - printf(" -n C, --count=C Print differences up to C number\n"); printf(" -d D, --delta=D Print difference when greater than limit D\n"); |