From d6f94bf8bdfe2848a5531c6f0ee175310b27494b Mon Sep 17 00:00:00 2001 From: Pedro Vicente Nunes Date: Fri, 4 Apr 2003 13:54:37 -0500 Subject: [svn-r6587] Purpose: typo in usage message Description: Solution: Platforms tested: linux Misc. update: --- tools/h5diff/h5diff.c | 2 +- tools/h5diff/testh5diff.sh | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/tools/h5diff/h5diff.c b/tools/h5diff/h5diff.c index 5b12ec7..f5d89de 100644 --- a/tools/h5diff/h5diff.c +++ b/tools/h5diff/h5diff.c @@ -96,7 +96,7 @@ void usage( const char *progname ) FILE2_NAME File name of the second HDF5 file\n" fprintf(stderr, - "h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relativet] FILE1_NAME FILE2_NAME\n%s", + "h5diff [OBJ1_NAME] [OBJ2_NAME] [-h] [-l] [-r] [-d] [-n count] [-d delta] [-p relative] FILE1_NAME FILE2_NAME\n%s", USAGE); fprintf(stderr,"\n"); fprintf(stderr,"Items in [ ] are optional \n"); diff --git a/tools/h5diff/testh5diff.sh b/tools/h5diff/testh5diff.sh index e597979..579455d 100755 --- a/tools/h5diff/testh5diff.sh +++ b/tools/h5diff/testh5diff.sh @@ -93,6 +93,8 @@ TOOLTEST() { # test1: Check if the command line number of arguments is less than 3 TOOLTEST h5diff_1.txt h5diff_test1.h5 +# test2: Check for invalid options +TOOLTEST h5diff_2.txt -x h5diff_test1.h5 h5diff_test2.h5 if test $nerrors -eq 0 ; then echo "All $H5DIFF tests passed." -- cgit v0.12