mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-08 03:40:21 -04:00
first checkin
This commit is contained in:
parent
dad99b8587
commit
0c27cf1587
41
tests/test17.out
Normal file
41
tests/test17.out
Normal file
@ -0,0 +1,41 @@
|
||||
PARSE ERROR:
|
||||
One or more required arguments missing!
|
||||
|
||||
|
||||
USAGE:
|
||||
|
||||
../examples/test3 [-i=<int>] ... -s=<string> [-B] [--] [-v] [-h] <string> <string> <fileNameString> ...
|
||||
|
||||
Where:
|
||||
|
||||
-i <int>, --intTest <int> (accepted multiple times)
|
||||
(value required) multi int test
|
||||
|
||||
-s <string>, --stringTest <string>
|
||||
(required) (value required) string test
|
||||
|
||||
-B, --existTest B
|
||||
exist Test B
|
||||
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
-v, --version
|
||||
Displays version information and exits.
|
||||
|
||||
-h, --help
|
||||
Displays usage information and exits.
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeled test one
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeled test two
|
||||
|
||||
<fileNameString> (accepted multiple times)
|
||||
(value required) file names
|
||||
|
||||
|
||||
|
||||
this is a message
|
||||
|
10
tests/test17.sh
Executable file
10
tests/test17.sh
Executable file
@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
../examples/test3 -s=one homer -B > tmp.out 2>&1
|
||||
|
||||
if cmp -s tmp.out test17.out; then
|
||||
exit 0
|
||||
else
|
||||
exit 1
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user