mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-08 11:49:39 -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
|
#!/bin/sh
|
||||||
|
|
||||||
# success
|
# 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
|
if cmp -s tmp.out test1.out; then
|
||||||
exit 0
|
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
|
#!/bin/sh
|
||||||
|
|
||||||
# success
|
# 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
|
if cmp -s tmp.out test3.out; then
|
||||||
exit 0
|
exit 0
|
||||||
|
@ -2,7 +2,7 @@ PARSE ERROR:
|
|||||||
One or more required arguments missing!
|
One or more required arguments missing!
|
||||||
|
|
||||||
Brief USAGE:
|
Brief USAGE:
|
||||||
../examples/test1 [-u] -n <string> [--] [-v] [-h]
|
../examples/test1 [-r] -n <string> [--] [-v] [-h]
|
||||||
|
|
||||||
For complete USAGE and HELP type:
|
For complete USAGE and HELP type:
|
||||||
../examples/test1 --help
|
../examples/test1 --help
|
||||||
|
@ -1,13 +1,13 @@
|
|||||||
|
|
||||||
USAGE:
|
USAGE:
|
||||||
|
|
||||||
../examples/test1 [-u] -n <string> [--] [-v] [-h]
|
../examples/test1 [-r] -n <string> [--] [-v] [-h]
|
||||||
|
|
||||||
|
|
||||||
Where:
|
Where:
|
||||||
|
|
||||||
-u, --upperCase
|
-r, --reverse
|
||||||
Print in upper case
|
Print name backwards
|
||||||
|
|
||||||
-n <string>, --name <string>
|
-n <string>, --name <string>
|
||||||
(required) (value required) Name to print
|
(required) (value required) Name to print
|
||||||
|
Loading…
x
Reference in New Issue
Block a user