mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-12 05:35:08 -04:00
updates
This commit is contained in:
parent
97658ba302
commit
7295d9d49b
@ -17,7 +17,7 @@ Where:
|
||||
-s <string>, --stringTest <string>
|
||||
(required) (value required) string test
|
||||
|
||||
-B, --existTest B
|
||||
-B, --existTestB
|
||||
exist Test B
|
||||
|
||||
--, --ignore_rest
|
||||
|
@ -17,7 +17,7 @@ Where:
|
||||
-s <string>, --stringTest <string>
|
||||
(required) (value required) string test
|
||||
|
||||
-B, --existTest B
|
||||
-B, --existTestB
|
||||
exist Test B
|
||||
|
||||
--, --ignore_rest
|
||||
|
@ -17,7 +17,7 @@ Where:
|
||||
-s <string>, --stringTest <string>
|
||||
(required) (value required) string test
|
||||
|
||||
-B, --existTest B
|
||||
-B, --existTestB
|
||||
exist Test B
|
||||
|
||||
--, --ignore_rest
|
||||
|
@ -1,3 +1,4 @@
|
||||
for A OR B we got : asdf
|
||||
for string C we got : fdas
|
||||
for string D we got : homer
|
||||
for E or F or G we got: blah
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# success
|
||||
../examples/test5 -a asdf -c fdas > tmp.out 2>&1
|
||||
../examples/test5 -a asdf -c fdas --eee blah > tmp.out 2>&1
|
||||
|
||||
if cmp -s tmp.out test20.out; then
|
||||
exit 0
|
||||
|
@ -1,3 +1,4 @@
|
||||
for A OR B we got : asdf
|
||||
for string C we got : fdas
|
||||
for string D we got : homer
|
||||
for E or F or G we got: asdf
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# success
|
||||
../examples/test5 -b asdf -c fdas > tmp.out 2>&1
|
||||
../examples/test5 -b asdf -c fdas -g asdf > tmp.out 2>&1
|
||||
|
||||
if cmp -s tmp.out test21.out; then
|
||||
exit 0
|
||||
|
@ -4,7 +4,7 @@ PARSE ERROR: Argument: -b (--bbb)
|
||||
|
||||
USAGE:
|
||||
|
||||
../examples/test5 {-a <string>|-b <string>} [-d <string>] -c <string> [--] [-v] [-h]
|
||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff <string>|-g <string>} [-d <string>] -c <string> [--] [-v] [-h]
|
||||
|
||||
Where:
|
||||
|
||||
@ -15,6 +15,16 @@ Where:
|
||||
(OR required) (value required) or test b
|
||||
|
||||
|
||||
--eee <string>
|
||||
(OR required) (value required) e test
|
||||
-- OR --
|
||||
--fff <string>
|
||||
(OR required) (value required) f test
|
||||
-- OR --
|
||||
-g <string>, --ggg <string>
|
||||
(OR required) (value required) g test
|
||||
|
||||
|
||||
-d <string>, --ddd <string>
|
||||
(value required) d test
|
||||
|
||||
|
@ -4,7 +4,7 @@ PARSE ERROR:
|
||||
|
||||
USAGE:
|
||||
|
||||
../examples/test5 {-a <string>|-b <string>} [-d <string>] -c <string> [--] [-v] [-h]
|
||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff <string>|-g <string>} [-d <string>] -c <string> [--] [-v] [-h]
|
||||
|
||||
Where:
|
||||
|
||||
@ -15,6 +15,16 @@ Where:
|
||||
(OR required) (value required) or test b
|
||||
|
||||
|
||||
--eee <string>
|
||||
(OR required) (value required) e test
|
||||
-- OR --
|
||||
--fff <string>
|
||||
(OR required) (value required) f test
|
||||
-- OR --
|
||||
-g <string>, --ggg <string>
|
||||
(OR required) (value required) g test
|
||||
|
||||
|
||||
-d <string>, --ddd <string>
|
||||
(value required) d test
|
||||
|
||||
|
@ -4,7 +4,7 @@ PARSE ERROR: Argument: -b (--bbb)
|
||||
|
||||
USAGE:
|
||||
|
||||
../examples/test5 {-a <string>|-b <string>} [-d <string>] -c <string> [--] [-v] [-h]
|
||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff <string>|-g <string>} [-d <string>] -c <string> [--] [-v] [-h]
|
||||
|
||||
Where:
|
||||
|
||||
@ -15,6 +15,16 @@ Where:
|
||||
(OR required) (value required) or test b
|
||||
|
||||
|
||||
--eee <string>
|
||||
(OR required) (value required) e test
|
||||
-- OR --
|
||||
--fff <string>
|
||||
(OR required) (value required) f test
|
||||
-- OR --
|
||||
-g <string>, --ggg <string>
|
||||
(OR required) (value required) g test
|
||||
|
||||
|
||||
-d <string>, --ddd <string>
|
||||
(value required) d test
|
||||
|
||||
|
@ -1,3 +1,4 @@
|
||||
for A OR B we got : asdf
|
||||
for string C we got : fdas
|
||||
for string D we got : homer
|
||||
for E or F or G we got: blah
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# success
|
||||
../examples/test5 --aaa asdf -c fdas > tmp.out 2>&1
|
||||
../examples/test5 --aaa asdf -c fdas --fff blah > tmp.out 2>&1
|
||||
|
||||
if cmp -s tmp.out test25.out; then
|
||||
exit 0
|
||||
|
@ -17,7 +17,7 @@ Where:
|
||||
-s <string>, --stringTest <string>
|
||||
(required) (value required) string test
|
||||
|
||||
-B, --existTest B
|
||||
-B, --existTestB
|
||||
exist Test B
|
||||
|
||||
--, --ignore_rest
|
||||
|
@ -17,7 +17,7 @@ Where:
|
||||
-s <string>, --stringTest <string>
|
||||
(required) (value required) string test
|
||||
|
||||
-B, --existTest B
|
||||
-B, --existTestB
|
||||
exist Test B
|
||||
|
||||
--, --ignore_rest
|
||||
|
Loading…
x
Reference in New Issue
Block a user