mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-08 03:40:21 -04:00
changes for new test1
This commit is contained in:
parent
46d749cfcc
commit
74353f79f4
@ -1 +1 @@
|
||||
My name is MIKE
|
||||
My name (spelled backwards) is: ekim
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# success
|
||||
../examples/test1 -u -n mike > tmp.out 2>&1
|
||||
../examples/test1 -r -n mike > tmp.out 2>&1
|
||||
|
||||
if cmp -s tmp.out test1.out; then
|
||||
exit 0
|
||||
|
@ -1 +1 @@
|
||||
My name is mike
|
||||
My name is: mike
|
||||
|
@ -1 +1 @@
|
||||
My name is MIKE
|
||||
My name (spelled backwards) is: ekim
|
||||
|
@ -1,7 +1,7 @@
|
||||
#!/bin/sh
|
||||
|
||||
# success
|
||||
../examples/test1 -n mike -u > tmp.out 2>&1
|
||||
../examples/test1 -n mike -r > tmp.out 2>&1
|
||||
|
||||
if cmp -s tmp.out test3.out; then
|
||||
exit 0
|
||||
|
@ -2,7 +2,7 @@ PARSE ERROR:
|
||||
One or more required arguments missing!
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test1 [-u] -n <string> [--] [-v] [-h]
|
||||
../examples/test1 [-r] -n <string> [--] [-v] [-h]
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test1 --help
|
||||
|
@ -1,13 +1,13 @@
|
||||
|
||||
USAGE:
|
||||
|
||||
../examples/test1 [-u] -n <string> [--] [-v] [-h]
|
||||
../examples/test1 [-r] -n <string> [--] [-v] [-h]
|
||||
|
||||
|
||||
Where:
|
||||
|
||||
-u, --upperCase
|
||||
Print in upper case
|
||||
-r, --reverse
|
||||
Print name backwards
|
||||
|
||||
-n <string>, --name <string>
|
||||
(required) (value required) Name to print
|
||||
|
Loading…
x
Reference in New Issue
Block a user