diff --git a/tests/test57.out b/tests/test57.out index c31744c..eabdc27 100644 --- a/tests/test57.out +++ b/tests/test57.out @@ -1,5 +1,5 @@ -PARSE ERROR: - Too many arguments! +PARSE ERROR: Argument: -i (--iii) + Mutually exclusive argument already set! Brief USAGE: ../examples/test5 {-a |-b } {--eee |--fff diff --git a/tests/test57.sh b/tests/test57.sh index d2d64f0..5256b8f 100755 --- a/tests/test57.sh +++ b/tests/test57.sh @@ -1,6 +1,8 @@ #!/bin/sh # failure +# This used to fail on the "Too many arguments!" but now fails sooner, +# and on a more approriate error. ../examples/test5 --aaa asdf -c fdas --fff blah -i one -i two -j huh > tmp.out 2>&1 if cmp -s tmp.out $srcdir/test57.out; then diff --git a/tests/test76.out b/tests/test76.out index 9686405..36013d9 100644 --- a/tests/test76.out +++ b/tests/test76.out @@ -1,4 +1,4 @@ -PARSE ERROR: Argument: -a (--atmc) +PARSE ERROR: Argument: -b (--btmc) Mutually exclusive argument already set! Brief USAGE: