mirror of
https://github.com/cuberite/TCLAP.git
synced 2025-09-09 04:09:31 -04:00
new output for default version and value required
This commit is contained in:
parent
4cba69f53b
commit
db95c71374
@ -3,7 +3,7 @@ PARSE ERROR:
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test2 --help
|
||||
|
@ -3,7 +3,7 @@ PARSE ERROR: Argument: -i (--intTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test2 --help
|
||||
|
@ -3,7 +3,7 @@ PARSE ERROR: Argument: -f (--floatTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test2 --help
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR: Argument: (--stringTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test3 [-f=<float>] ... [-i=<int>] ...
|
||||
--stringTest=<string> [-B] [--] [-v] [-h] <string>
|
||||
<string> <fileNameString> ...
|
||||
--stringTest=<string> [-B] [--] [--version] [-h]
|
||||
<string> <string> <fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test3 --help
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR: Argument: (--stringTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test3 [-f=<float>] ... [-i=<int>] ...
|
||||
--stringTest=<string> [-B] [--] [-v] [-h] <string>
|
||||
<string> <fileNameString> ...
|
||||
--stringTest=<string> [-B] [--] [--version] [-h]
|
||||
<string> <string> <fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test3 --help
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR:
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test3 [-f=<float>] ... [-i=<int>] ...
|
||||
--stringTest=<string> [-B] [--] [-v] [-h] <string>
|
||||
<string> <fileNameString> ...
|
||||
--stringTest=<string> [-B] [--] [--version] [-h]
|
||||
<string> <string> <fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test3 --help
|
||||
|
@ -4,7 +4,7 @@ PARSE ERROR: Argument: -b (--bbb)
|
||||
Brief USAGE:
|
||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff
|
||||
<string>|-g <string>} {-i <string> ... |-j <string>
|
||||
... } [--ddd] -c <string> [--] [-v] [-h]
|
||||
... } [--ddd] -c <string> [--] [--version] [-h]
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test5 --help
|
||||
|
@ -4,7 +4,7 @@ PARSE ERROR: Argument: -d
|
||||
Brief USAGE:
|
||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff
|
||||
<string>|-g <string>} {-i <string> ... |-j <string>
|
||||
... } [--ddd] -c <string> [--] [-v] [-h]
|
||||
... } [--ddd] -c <string> [--] [--version] [-h]
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test5 --help
|
||||
|
@ -4,7 +4,7 @@ PARSE ERROR: Argument: -b (--bbb)
|
||||
Brief USAGE:
|
||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff
|
||||
<string>|-g <string>} {-i <string> ... |-j <string>
|
||||
... } [--ddd] -c <string> [--] [-v] [-h]
|
||||
... } [--ddd] -c <string> [--] [--version] [-h]
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test5 --help
|
||||
|
@ -3,7 +3,7 @@ PARSE ERROR: Argument: -f (--floatTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test2 --help
|
||||
|
@ -3,7 +3,7 @@ PARSE ERROR: Argument: -f (--floatTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test2 --help
|
||||
|
@ -3,7 +3,7 @@ PARSE ERROR: Argument: -i (--intTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test2 --help
|
||||
|
@ -3,7 +3,7 @@ PARSE ERROR: Argument: -i (--intTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test2 --help
|
||||
|
@ -3,7 +3,7 @@ PARSE ERROR: Argument: -i (--intTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test2 --help
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR: Argument: -i (--intTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test3 [-f=<float>] ... [-i=<int>] ...
|
||||
--stringTest=<string> [-B] [--] [-v] [-h] <string>
|
||||
<string> <fileNameString> ...
|
||||
--stringTest=<string> [-B] [--] [--version] [-h]
|
||||
<string> <string> <fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test3 --help
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR: Argument: -f (--floatTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test3 [-f=<float>] ... [-i=<int>] ...
|
||||
--stringTest=<string> [-B] [--] [-v] [-h] <string>
|
||||
<string> <fileNameString> ...
|
||||
--stringTest=<string> [-B] [--] [--version] [-h]
|
||||
<string> <string> <fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test3 --help
|
||||
|
@ -2,8 +2,8 @@ PARSE ERROR: Argument: -n (--name)
|
||||
Value 'mike' does not meet constraint: homer|marge|bart|lisa|maggie
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test6 -n <homer|marge|bart|lisa|maggie> [--] [-v] [-h] <1|2
|
||||
|3>
|
||||
../examples/test6 -n <homer|marge|bart|lisa|maggie> [--] [--version]
|
||||
[-h] <1|2|3>
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test6 --help
|
||||
|
@ -2,8 +2,8 @@ PARSE ERROR: Argument: (--times)
|
||||
Value '6' does not meet constraint: 1|2|3
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test6 -n <homer|marge|bart|lisa|maggie> [--] [-v] [-h] <1|2
|
||||
|3>
|
||||
../examples/test6 -n <homer|marge|bart|lisa|maggie> [--] [--version]
|
||||
[-h] <1|2|3>
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test6 --help
|
||||
|
@ -10,7 +10,7 @@ Brief USAGE:
|
||||
<name string>] [-d] [-g <negative
|
||||
int>] [-f <negative int>] -n <homer
|
||||
|marge|bart|lisa|maggie> ... [--]
|
||||
[-v] [-h] <1|2|3> ...
|
||||
[--version] [-h] <1|2|3> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
ThisIsAVeryLongProgramNameDesignedToTestSpacePrintWhichUsedToHaveProblemsWithLongProgramNamesIThinkItIsNowLongEnough --help
|
||||
|
@ -10,7 +10,7 @@ Brief USAGE:
|
||||
<name string>] [-d] [-g <negative
|
||||
int>] [-f <negative int>] -n <homer
|
||||
|marge|bart|lisa|maggie> ... [--]
|
||||
[-v] [-h] <1|2|3> ...
|
||||
[--version] [-h] <1|2|3> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
ThisIsAVeryLongProgramNameDesignedToTestSpacePrintWhichUsedToHaveProblemsWithLongProgramNamesIThinkItIsNowLongEnough --help
|
||||
|
@ -2,7 +2,7 @@ PARSE ERROR:
|
||||
One or more required arguments missing!
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test1 [-r] -n <string> [--] [-v] [-h]
|
||||
../examples/test1 [-r] -n <string> [--] [--version] [-h]
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test1 --help
|
||||
|
@ -1,7 +1,7 @@
|
||||
|
||||
USAGE:
|
||||
|
||||
../examples/test1 [-r] -n <string> [--] [-v] [-h]
|
||||
../examples/test1 [-r] -n <string> [--] [--version] [-h]
|
||||
|
||||
|
||||
Where:
|
||||
@ -10,12 +10,12 @@ Where:
|
||||
Print name backwards
|
||||
|
||||
-n <string>, --name <string>
|
||||
(required) (value required) Name to print
|
||||
(required) Name to print
|
||||
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
-v, --version
|
||||
--version
|
||||
Displays version information and exits.
|
||||
|
||||
-h, --help
|
||||
|
@ -2,19 +2,19 @@
|
||||
USAGE:
|
||||
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
|
||||
Where:
|
||||
|
||||
-f <float>, --floatTest <float>
|
||||
(value required) float test
|
||||
float test
|
||||
|
||||
-i <int>, --intTest <int>
|
||||
(required) (value required) integer test
|
||||
(required) integer test
|
||||
|
||||
-s <string>, --stringTest <string>
|
||||
(required) (value required) string test
|
||||
(required) string test
|
||||
|
||||
-A, --existTestA
|
||||
tests for the existence of A
|
||||
@ -28,17 +28,17 @@ Where:
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
-v, --version
|
||||
--version
|
||||
Displays version information and exits.
|
||||
|
||||
-h, --help
|
||||
Displays usage information and exits.
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeld test
|
||||
(required) unlabeld test
|
||||
|
||||
<string> (accepted multiple times)
|
||||
(value required) file names
|
||||
file names
|
||||
|
||||
|
||||
this is a message
|
||||
|
@ -2,20 +2,20 @@
|
||||
USAGE:
|
||||
|
||||
../examples/test3 [-f=<float>] ... [-i=<int>] ...
|
||||
--stringTest=<string> [-B] [--] [-v] [-h] <string>
|
||||
<string> <fileNameString> ...
|
||||
--stringTest=<string> [-B] [--] [--version] [-h]
|
||||
<string> <string> <fileNameString> ...
|
||||
|
||||
|
||||
Where:
|
||||
|
||||
-f <float>, --floatTest <float> (accepted multiple times)
|
||||
(value required) multi float test
|
||||
multi float test
|
||||
|
||||
-i <int>, --intTest <int> (accepted multiple times)
|
||||
(value required) multi int test
|
||||
multi int test
|
||||
|
||||
--stringTest <string>
|
||||
(required) (value required) string test
|
||||
(required) string test
|
||||
|
||||
-B, --existTestB
|
||||
exist Test B
|
||||
@ -23,20 +23,20 @@ Where:
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
-v, --version
|
||||
--version
|
||||
Displays version information and exits.
|
||||
|
||||
-h, --help
|
||||
Displays usage information and exits.
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeled test one
|
||||
(required) unlabeled test one
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeled test two
|
||||
(required) unlabeled test two
|
||||
|
||||
<fileNameString> (accepted multiple times)
|
||||
(value required) file names
|
||||
file names
|
||||
|
||||
|
||||
this is a message
|
||||
|
@ -1,7 +1,7 @@
|
||||
my usage message:
|
||||
-A, --sA (exist Test A)
|
||||
-B, --sB (exist Test B)
|
||||
-s <string>, --Bs <string> ((required) (value required) string test)
|
||||
-s <string>, --Bs <string> ((required) string test)
|
||||
--, --ignore_rest (Ignores the rest of the labeled arguments following this flag.)
|
||||
-v, --version (Displays version information and exits.)
|
||||
--version (Displays version information and exits.)
|
||||
-h, --help (Displays usage information and exits.)
|
||||
|
@ -3,45 +3,45 @@ USAGE:
|
||||
|
||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff
|
||||
<string>|-g <string>} {-i <string> ... |-j <string>
|
||||
... } [--ddd] -c <string> [--] [-v] [-h]
|
||||
... } [--ddd] -c <string> [--] [--version] [-h]
|
||||
|
||||
|
||||
Where:
|
||||
|
||||
-a <string>, --aaa <string>
|
||||
(OR required) (value required) or test a
|
||||
(OR required) or test a
|
||||
-- OR --
|
||||
-b <string>, --bbb <string>
|
||||
(OR required) (value required) or test b
|
||||
(OR required) or test b
|
||||
|
||||
|
||||
--eee <string>
|
||||
(OR required) (value required) e test
|
||||
(OR required) e test
|
||||
-- OR --
|
||||
--fff <string>
|
||||
(OR required) (value required) f test
|
||||
(OR required) f test
|
||||
-- OR --
|
||||
-g <string>, --ggg <string>
|
||||
(OR required) (value required) g test
|
||||
(OR required) g test
|
||||
|
||||
|
||||
-i <string>, --iii <string> (accepted multiple times)
|
||||
(OR required) (value required) or test i
|
||||
(OR required) or test i
|
||||
-- OR --
|
||||
-j <string>, --jjj <string> (accepted multiple times)
|
||||
(OR required) (value required) or test j
|
||||
(OR required) or test j
|
||||
|
||||
|
||||
--ddd
|
||||
d test
|
||||
|
||||
-c <string>, --ccc <string>
|
||||
(required) (value required) c test
|
||||
(required) c test
|
||||
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
-v, --version
|
||||
--version
|
||||
Displays version information and exits.
|
||||
|
||||
-h, --help
|
||||
|
@ -1,27 +1,27 @@
|
||||
|
||||
USAGE:
|
||||
|
||||
../examples/test6 -n <homer|marge|bart|lisa|maggie> [--] [-v] [-h] <1|2
|
||||
|3>
|
||||
../examples/test6 -n <homer|marge|bart|lisa|maggie> [--] [--version]
|
||||
[-h] <1|2|3>
|
||||
|
||||
|
||||
Where:
|
||||
|
||||
-n <homer|marge|bart|lisa|maggie>, --name <homer|marge|bart|lisa
|
||||
|maggie>
|
||||
(required) (value required) Name to print
|
||||
(required) Name to print
|
||||
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
-v, --version
|
||||
--version
|
||||
Displays version information and exits.
|
||||
|
||||
-h, --help
|
||||
Displays usage information and exits.
|
||||
|
||||
<1|2|3>
|
||||
(required) (value required) Number of times to print
|
||||
(required) Number of times to print
|
||||
|
||||
|
||||
Command description message
|
||||
|
@ -9,54 +9,54 @@ USAGE:
|
||||
<name string>] [-d] [-g <negative
|
||||
int>] [-f <negative int>] -n <homer
|
||||
|marge|bart|lisa|maggie> ... [--]
|
||||
[-v] [-h] <1|2|3> ...
|
||||
[--version] [-h] <1|2|3> ...
|
||||
|
||||
|
||||
Where:
|
||||
|
||||
-l <int>, --limit <int>
|
||||
(value required) Max number of alignments allowed
|
||||
Max number of alignments allowed
|
||||
|
||||
-u <float lte 1>, --upperBound <float lte 1>
|
||||
(value required) upper percentage bound
|
||||
upper percentage bound
|
||||
|
||||
-b <float lte 1>, --lowerBound <float lte 1>
|
||||
(value required) lower percentage bound
|
||||
lower percentage bound
|
||||
|
||||
-z <filename>, --filename2 <filename>
|
||||
(value required) Sequence 2 filename (FASTA format)
|
||||
Sequence 2 filename (FASTA format)
|
||||
|
||||
-x <filename>, --filename1 <filename>
|
||||
(value required) Sequence 1 filename (FASTA format)
|
||||
Sequence 1 filename (FASTA format)
|
||||
|
||||
-s <name string>, --scoringMatrix <name string>
|
||||
(value required) Scoring Matrix name
|
||||
Scoring Matrix name
|
||||
|
||||
-d, --isDna
|
||||
The input sequences are DNA
|
||||
|
||||
-g <negative int>, --gapExtend <negative int>
|
||||
(value required) The cost for each extension of a gap
|
||||
The cost for each extension of a gap
|
||||
|
||||
-f <negative int>, --gapCreate <negative int>
|
||||
(value required) The cost of creating a gap
|
||||
The cost of creating a gap
|
||||
|
||||
-n <homer|marge|bart|lisa|maggie>, --name <homer|marge|bart|lisa
|
||||
|maggie> (accepted multiple times)
|
||||
(required) (value required) Name to print. This is a long,
|
||||
nonsensical message to test line wrapping. Hopefully it works.
|
||||
(required) Name to print. This is a long, nonsensical message to test
|
||||
line wrapping. Hopefully it works.
|
||||
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
-v, --version
|
||||
--version
|
||||
Displays version information and exits.
|
||||
|
||||
-h, --help
|
||||
Displays usage information and exits.
|
||||
|
||||
<1|2|3> (accepted multiple times)
|
||||
(value required) Number of times to print
|
||||
Number of times to print
|
||||
|
||||
|
||||
Command description message. This is a long multi-line message meant to
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR: Argument: -s (--stringTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test8 [-f=<float>] ... [-i=<int>] ... -s=<string> [-B]
|
||||
[--] [-v] [-h] <string> <string> <fileNameString>
|
||||
...
|
||||
[--] [--version] [-h] <string> <string>
|
||||
<fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test8 --help
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR: Argument: -s (--stringTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test8 [-f=<float>] ... [-i=<int>] ... -s=<string> [-B]
|
||||
[--] [-v] [-h] <string> <string> <fileNameString>
|
||||
...
|
||||
[--] [--version] [-h] <string> <string>
|
||||
<fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test8 --help
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR:
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test8 [-f=<float>] ... [-i=<int>] ... -s=<string> [-B]
|
||||
[--] [-v] [-h] <string> <string> <fileNameString>
|
||||
...
|
||||
[--] [--version] [-h] <string> <string>
|
||||
<fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test8 --help
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR: Argument: -i (--intTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test8 [-f=<float>] ... [-i=<int>] ... -s=<string> [-B]
|
||||
[--] [-v] [-h] <string> <string> <fileNameString>
|
||||
...
|
||||
[--] [--version] [-h] <string> <string>
|
||||
<fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test8 --help
|
||||
|
@ -3,8 +3,8 @@ PARSE ERROR: Argument: -f (--floatTest)
|
||||
|
||||
Brief USAGE:
|
||||
../examples/test8 [-f=<float>] ... [-i=<int>] ... -s=<string> [-B]
|
||||
[--] [-v] [-h] <string> <string> <fileNameString>
|
||||
...
|
||||
[--] [--version] [-h] <string> <string>
|
||||
<fileNameString> ...
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test8 --help
|
||||
|
@ -2,20 +2,20 @@
|
||||
USAGE:
|
||||
|
||||
../examples/test8 [-f=<float>] ... [-i=<int>] ... -s=<string> [-B]
|
||||
[--] [-v] [-h] <string> <string> <fileNameString>
|
||||
...
|
||||
[--] [--version] [-h] <string> <string>
|
||||
<fileNameString> ...
|
||||
|
||||
|
||||
Where:
|
||||
|
||||
-f <float>, --floatTest <float> (accepted multiple times)
|
||||
(value required) multi float test
|
||||
multi float test
|
||||
|
||||
-i <int>, --intTest <int> (accepted multiple times)
|
||||
(value required) multi int test
|
||||
multi int test
|
||||
|
||||
-s <string>, --stringTest <string>
|
||||
(required) (value required) string test
|
||||
(required) string test
|
||||
|
||||
-B, --existTestB
|
||||
exist Test B
|
||||
@ -23,20 +23,20 @@ Where:
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
-v, --version
|
||||
--version
|
||||
Displays version information and exits.
|
||||
|
||||
-h, --help
|
||||
Displays usage information and exits.
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeled test one
|
||||
(required) unlabeled test one
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeled test two
|
||||
(required) unlabeled test two
|
||||
|
||||
<fileNameString> (accepted multiple times)
|
||||
(value required) file names
|
||||
file names
|
||||
|
||||
|
||||
this is a message
|
||||
|
@ -4,7 +4,7 @@ PARSE ERROR:
|
||||
Brief USAGE:
|
||||
../examples/test5 {-a <string>|-b <string>} {--eee <string>|--fff
|
||||
<string>|-g <string>} {-i <string> ... |-j <string>
|
||||
... } [--ddd] -c <string> [--] [-v] [-h]
|
||||
... } [--ddd] -c <string> [--] [--version] [-h]
|
||||
|
||||
For complete USAGE and HELP type:
|
||||
../examples/test5 --help
|
||||
|
@ -1,3 +1,4 @@
|
||||
REVERSE
|
||||
Verbose level: 3
|
||||
Noise level: 7
|
||||
Word: blah
|
||||
|
@ -4,7 +4,7 @@ PARSE ERROR: Argument: -r (--reverse)
|
||||
|
||||
USAGE:
|
||||
|
||||
../examples/test9 [-N] ... [-V] ... [-r] [--]
|
||||
../examples/test9 [-N] ... [-V] ... [-r] [--] <won't see this>
|
||||
|
||||
|
||||
Where:
|
||||
@ -21,6 +21,9 @@ Where:
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
<won't see this>
|
||||
a random word
|
||||
|
||||
|
||||
Command description message
|
||||
|
||||
|
@ -2,19 +2,19 @@
|
||||
USAGE:
|
||||
|
||||
../examples/test2 [-f <float>] -i <int> -s <string> [-A] [-C] [-B] [--]
|
||||
[-v] [-h] <string> <string> ...
|
||||
[--version] [-h] <string> <string> ...
|
||||
|
||||
|
||||
Where:
|
||||
|
||||
-f <float>, --floatTest <float>
|
||||
(value required) float test
|
||||
float test
|
||||
|
||||
-i <int>, --intTest <int>
|
||||
(required) (value required) integer test
|
||||
(required) integer test
|
||||
|
||||
-s <string>, --stringTest <string>
|
||||
(required) (value required) string test
|
||||
(required) string test
|
||||
|
||||
-A, --existTestA
|
||||
tests for the existence of A
|
||||
@ -28,17 +28,17 @@ Where:
|
||||
--, --ignore_rest
|
||||
Ignores the rest of the labeled arguments following this flag.
|
||||
|
||||
-v, --version
|
||||
--version
|
||||
Displays version information and exits.
|
||||
|
||||
-h, --help
|
||||
Displays usage information and exits.
|
||||
|
||||
<string>
|
||||
(required) (value required) unlabeld test
|
||||
(required) unlabeld test
|
||||
|
||||
<string> (accepted multiple times)
|
||||
(value required) file names
|
||||
file names
|
||||
|
||||
|
||||
this is a message
|
||||
|
Loading…
x
Reference in New Issue
Block a user