mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-08 03:40:21 -04:00
updates
This commit is contained in:
parent
e86d8fc3ad
commit
2d540bd1ef
@ -1,4 +1,4 @@
|
||||
PARSE ERROR: for argument: undefined
|
||||
PARSE ERROR:
|
||||
One or more required arguments missing!
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
PARSE ERROR: for argument: -i (--intTest)
|
||||
PARSE ERROR: Argument: -i (--intTest)
|
||||
Argument already set!
|
||||
|
||||
|
||||
|
@ -1,4 +1,4 @@
|
||||
PARSE ERROR: for argument: -f (--floatTest)
|
||||
PARSE ERROR: Argument: -f (--floatTest)
|
||||
Couldn't read argument value!
|
||||
|
||||
|
||||
|
@ -1,11 +1,7 @@
|
||||
[-i] 0 9
|
||||
[-i] 1 8
|
||||
[ ] 0 marge
|
||||
[ ] 1 bart
|
||||
for float we got : 0
|
||||
for int we got : 0
|
||||
[ ] 0 bart
|
||||
for string we got : bill
|
||||
for ulabeled we got : homer
|
||||
for bool A we got : 0
|
||||
for ulabeled one we got : homer
|
||||
for ulabeled two we got : marge
|
||||
for bool B we got : 1
|
||||
for bool C we got : 0
|
||||
|
@ -1,11 +1,7 @@
|
||||
[ ] 0 marge
|
||||
[ ] 1 bart
|
||||
[ ] 2 one
|
||||
[ ] 3 two
|
||||
for float we got : 0
|
||||
for int we got : 0
|
||||
[ ] 0 bart
|
||||
[ ] 1 one
|
||||
[ ] 2 two
|
||||
for string we got : aaa
|
||||
for ulabeled we got : homer
|
||||
for bool A we got : 0
|
||||
for ulabeled one we got : homer
|
||||
for ulabeled two we got : marge
|
||||
for bool B we got : 0
|
||||
for bool C we got : 0
|
||||
|
@ -1,11 +1,41 @@
|
||||
[ ] 0 marge
|
||||
[ ] 1 bart
|
||||
[ ] 2 -hv
|
||||
[ ] 3 two
|
||||
for float we got : 0
|
||||
for int we got : 0
|
||||
for string we got : bbb
|
||||
for ulabeled we got : homer
|
||||
for bool A we got : 0
|
||||
for bool B we got : 0
|
||||
for bool C we got : 0
|
||||
PARSE ERROR: Argument: -s (--stringTest)
|
||||
Couldn't find delimiter for this argument!
|
||||
|
||||
|
||||
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
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
PARSE ERROR: for argument: -B (--existTest B)
|
||||
Argument already set!
|
||||
PARSE ERROR: Argument: -s (--stringTest)
|
||||
Couldn't find delimiter for this argument!
|
||||
|
||||
|
||||
USAGE:
|
||||
|
||||
../examples/test3 [-i <int>] ... -s <string> [-B] [--] [-v] [-h] <string> <fileNameString> ...
|
||||
../examples/test3 [-i=<int>] ... -s=<string> [-B] [--] [-v] [-h] <string> <string> <fileNameString> ...
|
||||
|
||||
Where:
|
||||
|
||||
@ -27,7 +27,10 @@ Where:
|
||||
Displays usage information and exits.
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeld test
|
||||
(required) (value required) unlabeled test one
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeled test two
|
||||
|
||||
<fileNameString> (accepted multiple times)
|
||||
(value required) file names
|
||||
|
@ -1,4 +1,4 @@
|
||||
PARSE ERROR: for argument: undefined
|
||||
PARSE ERROR:
|
||||
One or more required arguments missing!
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user