summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPedro Vicente Nunes <pvn@hdfgroup.org>2003-04-04 18:54:37 (GMT)
committerPedro Vicente Nunes <pvn@hdfgroup.org>2003-04-04 18:54:37 (GMT)
commitd6f94bf8bdfe2848a5531c6f0ee175310b27494b (patch)
tree152bce5e14314d5696728ad355eaa3d3b39080f4
parentb3fa7fe85b13b350fc7dcfc20f7ebcf7a5ca0e84 (diff)
downloadhdf5-d6f94bf8bdfe2848a5531c6f0ee175310b27494b.zip
hdf5-d6f94bf8bdfe2848a5531c6f0ee175310b27494b.tar.gz
hdf5-d6f94bf8bdfe2848a5531c6f0ee175310b27494b.tar.bz2
[svn-r6587] Purpose:
typo in usage message Description: Solution: Platforms tested: linux Misc. update:
-rw-r--r--tools/h5diff/h5diff.c2
-rwxr-xr-xtools/h5diff/testh5diff.sh2
2 files changed, 3 insertions, 1 deletions
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."