mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-08-04 02:06:29 -04:00
tweaked tests to reflect fix for mutually exclusive switches
This commit is contained in:
parent
fc9d87a003
commit
94ed69a0d9
@ -1,5 +1,5 @@
|
|||||||
PARSE ERROR:
|
PARSE ERROR: Argument: -i (--iii)
|
||||||
Too many arguments!
|
Mutually exclusive argument already set!
|
||||||
|
|
||||||
Brief USAGE:
|
Brief USAGE:
|
||||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff
|
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff
|
||||||
|
@ -1,6 +1,8 @@
|
|||||||
#!/bin/sh
|
#!/bin/sh
|
||||||
|
|
||||||
# failure
|
# 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
|
../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
|
if cmp -s tmp.out $srcdir/test57.out; then
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
PARSE ERROR: Argument: -a (--atmc)
|
PARSE ERROR: Argument: -b (--btmc)
|
||||||
Mutually exclusive argument already set!
|
Mutually exclusive argument already set!
|
||||||
|
|
||||||
Brief USAGE:
|
Brief USAGE:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user