From db95c71374c1a031c084a8a1825ce41f9ac148e6 Mon Sep 17 00:00:00 2001 From: mes5k Date: Mon, 24 Jan 2005 03:02:34 +0000 Subject: [PATCH] new output for default version and value required --- tests/test10.out | 2 +- tests/test11.out | 2 +- tests/test12.out | 2 +- tests/test15.out | 4 ++-- tests/test16.out | 4 ++-- tests/test17.out | 4 ++-- tests/test22.out | 2 +- tests/test23.out | 2 +- tests/test24.out | 2 +- tests/test26.out | 2 +- tests/test27.out | 2 +- tests/test28.out | 2 +- tests/test29.out | 2 +- tests/test30.out | 2 +- tests/test31.out | 4 ++-- tests/test32.out | 4 ++-- tests/test35.out | 4 ++-- tests/test36.out | 4 ++-- tests/test38.out | 2 +- tests/test39.out | 2 +- tests/test4.out | 2 +- tests/test40.out | 6 +++--- tests/test41.out | 14 +++++++------- tests/test42.out | 18 +++++++++--------- tests/test43.out | 4 ++-- tests/test44.out | 20 ++++++++++---------- tests/test45.out | 10 +++++----- tests/test46.out | 26 +++++++++++++------------- tests/test49.out | 4 ++-- tests/test50.out | 4 ++-- tests/test51.out | 4 ++-- tests/test52.out | 4 ++-- tests/test53.out | 4 ++-- tests/test54.out | 18 +++++++++--------- tests/test57.out | 2 +- tests/test59.out | 1 + tests/test60.out | 5 ++++- tests/test7.out | 14 +++++++------- 38 files changed, 109 insertions(+), 105 deletions(-) diff --git a/tests/test10.out b/tests/test10.out index d68fb3e..a991980 100644 --- a/tests/test10.out +++ b/tests/test10.out @@ -3,7 +3,7 @@ PARSE ERROR: Brief USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... For complete USAGE and HELP type: ../examples/test2 --help diff --git a/tests/test11.out b/tests/test11.out index a9ccc4b..2c0d7a1 100644 --- a/tests/test11.out +++ b/tests/test11.out @@ -3,7 +3,7 @@ PARSE ERROR: Argument: -i (--intTest) Brief USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... For complete USAGE and HELP type: ../examples/test2 --help diff --git a/tests/test12.out b/tests/test12.out index 7434099..2d957e0 100644 --- a/tests/test12.out +++ b/tests/test12.out @@ -3,7 +3,7 @@ PARSE ERROR: Argument: -f (--floatTest) Brief USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... For complete USAGE and HELP type: ../examples/test2 --help diff --git a/tests/test15.out b/tests/test15.out index ad4e3f9..f79dfc1 100644 --- a/tests/test15.out +++ b/tests/test15.out @@ -3,8 +3,8 @@ PARSE ERROR: Argument: (--stringTest) Brief USAGE: ../examples/test3 [-f=] ... [-i=] ... - --stringTest= [-B] [--] [-v] [-h] - ... + --stringTest= [-B] [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test3 --help diff --git a/tests/test16.out b/tests/test16.out index ad4e3f9..f79dfc1 100644 --- a/tests/test16.out +++ b/tests/test16.out @@ -3,8 +3,8 @@ PARSE ERROR: Argument: (--stringTest) Brief USAGE: ../examples/test3 [-f=] ... [-i=] ... - --stringTest= [-B] [--] [-v] [-h] - ... + --stringTest= [-B] [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test3 --help diff --git a/tests/test17.out b/tests/test17.out index c5d482c..efdadb9 100644 --- a/tests/test17.out +++ b/tests/test17.out @@ -3,8 +3,8 @@ PARSE ERROR: Brief USAGE: ../examples/test3 [-f=] ... [-i=] ... - --stringTest= [-B] [--] [-v] [-h] - ... + --stringTest= [-B] [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test3 --help diff --git a/tests/test22.out b/tests/test22.out index 89e1910..77ee1c8 100644 --- a/tests/test22.out +++ b/tests/test22.out @@ -4,7 +4,7 @@ PARSE ERROR: Argument: -b (--bbb) Brief USAGE: ../examples/test5 {-a |-b } {--eee |--fff |-g } {-i ... |-j - ... } [--ddd] -c [--] [-v] [-h] + ... } [--ddd] -c [--] [--version] [-h] For complete USAGE and HELP type: ../examples/test5 --help diff --git a/tests/test23.out b/tests/test23.out index 4b5059c..74cae53 100644 --- a/tests/test23.out +++ b/tests/test23.out @@ -4,7 +4,7 @@ PARSE ERROR: Argument: -d Brief USAGE: ../examples/test5 {-a |-b } {--eee |--fff |-g } {-i ... |-j - ... } [--ddd] -c [--] [-v] [-h] + ... } [--ddd] -c [--] [--version] [-h] For complete USAGE and HELP type: ../examples/test5 --help diff --git a/tests/test24.out b/tests/test24.out index 89e1910..77ee1c8 100644 --- a/tests/test24.out +++ b/tests/test24.out @@ -4,7 +4,7 @@ PARSE ERROR: Argument: -b (--bbb) Brief USAGE: ../examples/test5 {-a |-b } {--eee |--fff |-g } {-i ... |-j - ... } [--ddd] -c [--] [-v] [-h] + ... } [--ddd] -c [--] [--version] [-h] For complete USAGE and HELP type: ../examples/test5 --help diff --git a/tests/test26.out b/tests/test26.out index f6ae845..f449c00 100644 --- a/tests/test26.out +++ b/tests/test26.out @@ -3,7 +3,7 @@ PARSE ERROR: Argument: -f (--floatTest) Brief USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... For complete USAGE and HELP type: ../examples/test2 --help diff --git a/tests/test27.out b/tests/test27.out index 93dbe25..9b149cf 100644 --- a/tests/test27.out +++ b/tests/test27.out @@ -3,7 +3,7 @@ PARSE ERROR: Argument: -f (--floatTest) Brief USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... For complete USAGE and HELP type: ../examples/test2 --help diff --git a/tests/test28.out b/tests/test28.out index 9c0637a..efd8b4e 100644 --- a/tests/test28.out +++ b/tests/test28.out @@ -3,7 +3,7 @@ PARSE ERROR: Argument: -i (--intTest) Brief USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... For complete USAGE and HELP type: ../examples/test2 --help diff --git a/tests/test29.out b/tests/test29.out index de83f79..a8aa5ad 100644 --- a/tests/test29.out +++ b/tests/test29.out @@ -3,7 +3,7 @@ PARSE ERROR: Argument: -i (--intTest) Brief USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... For complete USAGE and HELP type: ../examples/test2 --help diff --git a/tests/test30.out b/tests/test30.out index bca1a65..7a8083b 100644 --- a/tests/test30.out +++ b/tests/test30.out @@ -3,7 +3,7 @@ PARSE ERROR: Argument: -i (--intTest) Brief USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... For complete USAGE and HELP type: ../examples/test2 --help diff --git a/tests/test31.out b/tests/test31.out index 69460c8..6853a57 100644 --- a/tests/test31.out +++ b/tests/test31.out @@ -3,8 +3,8 @@ PARSE ERROR: Argument: -i (--intTest) Brief USAGE: ../examples/test3 [-f=] ... [-i=] ... - --stringTest= [-B] [--] [-v] [-h] - ... + --stringTest= [-B] [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test3 --help diff --git a/tests/test32.out b/tests/test32.out index dc586a4..7d717ed 100644 --- a/tests/test32.out +++ b/tests/test32.out @@ -3,8 +3,8 @@ PARSE ERROR: Argument: -f (--floatTest) Brief USAGE: ../examples/test3 [-f=] ... [-i=] ... - --stringTest= [-B] [--] [-v] [-h] - ... + --stringTest= [-B] [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test3 --help diff --git a/tests/test35.out b/tests/test35.out index d98e826..68d234f 100644 --- a/tests/test35.out +++ b/tests/test35.out @@ -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 [--] [-v] [-h] <1|2 - |3> + ../examples/test6 -n [--] [--version] + [-h] <1|2|3> For complete USAGE and HELP type: ../examples/test6 --help diff --git a/tests/test36.out b/tests/test36.out index e263352..faf4983 100644 --- a/tests/test36.out +++ b/tests/test36.out @@ -2,8 +2,8 @@ PARSE ERROR: Argument: (--times) Value '6' does not meet constraint: 1|2|3 Brief USAGE: - ../examples/test6 -n [--] [-v] [-h] <1|2 - |3> + ../examples/test6 -n [--] [--version] + [-h] <1|2|3> For complete USAGE and HELP type: ../examples/test6 --help diff --git a/tests/test38.out b/tests/test38.out index faef6fc..c06b9f3 100644 --- a/tests/test38.out +++ b/tests/test38.out @@ -10,7 +10,7 @@ Brief USAGE: ] [-d] [-g ] [-f ] -n ... [--] - [-v] [-h] <1|2|3> ... + [--version] [-h] <1|2|3> ... For complete USAGE and HELP type: ThisIsAVeryLongProgramNameDesignedToTestSpacePrintWhichUsedToHaveProblemsWithLongProgramNamesIThinkItIsNowLongEnough --help diff --git a/tests/test39.out b/tests/test39.out index 44f76a7..bec5c3b 100644 --- a/tests/test39.out +++ b/tests/test39.out @@ -10,7 +10,7 @@ Brief USAGE: ] [-d] [-g ] [-f ] -n ... [--] - [-v] [-h] <1|2|3> ... + [--version] [-h] <1|2|3> ... For complete USAGE and HELP type: ThisIsAVeryLongProgramNameDesignedToTestSpacePrintWhichUsedToHaveProblemsWithLongProgramNamesIThinkItIsNowLongEnough --help diff --git a/tests/test4.out b/tests/test4.out index b40bc5f..c69fab0 100644 --- a/tests/test4.out +++ b/tests/test4.out @@ -2,7 +2,7 @@ PARSE ERROR: One or more required arguments missing! Brief USAGE: - ../examples/test1 [-r] -n [--] [-v] [-h] + ../examples/test1 [-r] -n [--] [--version] [-h] For complete USAGE and HELP type: ../examples/test1 --help diff --git a/tests/test40.out b/tests/test40.out index b44658f..8cafa16 100644 --- a/tests/test40.out +++ b/tests/test40.out @@ -1,7 +1,7 @@ USAGE: - ../examples/test1 [-r] -n [--] [-v] [-h] + ../examples/test1 [-r] -n [--] [--version] [-h] Where: @@ -10,12 +10,12 @@ Where: Print name backwards -n , --name - (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 diff --git a/tests/test41.out b/tests/test41.out index 234269c..2f583f5 100644 --- a/tests/test41.out +++ b/tests/test41.out @@ -2,19 +2,19 @@ USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... Where: -f , --floatTest - (value required) float test + float test -i , --intTest - (required) (value required) integer test + (required) integer test -s , --stringTest - (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. - (required) (value required) unlabeld test + (required) unlabeld test (accepted multiple times) - (value required) file names + file names this is a message diff --git a/tests/test42.out b/tests/test42.out index 4b4d33b..86e9016 100644 --- a/tests/test42.out +++ b/tests/test42.out @@ -2,20 +2,20 @@ USAGE: ../examples/test3 [-f=] ... [-i=] ... - --stringTest= [-B] [--] [-v] [-h] - ... + --stringTest= [-B] [--] [--version] [-h] + ... Where: -f , --floatTest (accepted multiple times) - (value required) multi float test + multi float test -i , --intTest (accepted multiple times) - (value required) multi int test + multi int test --stringTest - (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. - (required) (value required) unlabeled test one + (required) unlabeled test one - (required) (value required) unlabeled test two + (required) unlabeled test two (accepted multiple times) - (value required) file names + file names this is a message diff --git a/tests/test43.out b/tests/test43.out index c386ac1..766f462 100644 --- a/tests/test43.out +++ b/tests/test43.out @@ -1,7 +1,7 @@ my usage message: -A, --sA (exist Test A) -B, --sB (exist Test B) --s , --Bs ((required) (value required) string test) +-s , --Bs ((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.) diff --git a/tests/test44.out b/tests/test44.out index 19c0652..f246109 100644 --- a/tests/test44.out +++ b/tests/test44.out @@ -3,45 +3,45 @@ USAGE: ../examples/test5 {-a |-b } {--eee |--fff |-g } {-i ... |-j - ... } [--ddd] -c [--] [-v] [-h] + ... } [--ddd] -c [--] [--version] [-h] Where: -a , --aaa - (OR required) (value required) or test a + (OR required) or test a -- OR -- -b , --bbb - (OR required) (value required) or test b + (OR required) or test b --eee - (OR required) (value required) e test + (OR required) e test -- OR -- --fff - (OR required) (value required) f test + (OR required) f test -- OR -- -g , --ggg - (OR required) (value required) g test + (OR required) g test -i , --iii (accepted multiple times) - (OR required) (value required) or test i + (OR required) or test i -- OR -- -j , --jjj (accepted multiple times) - (OR required) (value required) or test j + (OR required) or test j --ddd d test -c , --ccc - (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 diff --git a/tests/test45.out b/tests/test45.out index 5a764e8..8edeec9 100644 --- a/tests/test45.out +++ b/tests/test45.out @@ -1,27 +1,27 @@ USAGE: - ../examples/test6 -n [--] [-v] [-h] <1|2 - |3> + ../examples/test6 -n [--] [--version] + [-h] <1|2|3> Where: -n , --name - (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 diff --git a/tests/test46.out b/tests/test46.out index 433ee2b..a438101 100644 --- a/tests/test46.out +++ b/tests/test46.out @@ -9,54 +9,54 @@ USAGE: ] [-d] [-g ] [-f ] -n ... [--] - [-v] [-h] <1|2|3> ... + [--version] [-h] <1|2|3> ... Where: -l , --limit - (value required) Max number of alignments allowed + Max number of alignments allowed -u , --upperBound - (value required) upper percentage bound + upper percentage bound -b , --lowerBound - (value required) lower percentage bound + lower percentage bound -z , --filename2 - (value required) Sequence 2 filename (FASTA format) + Sequence 2 filename (FASTA format) -x , --filename1 - (value required) Sequence 1 filename (FASTA format) + Sequence 1 filename (FASTA format) -s , --scoringMatrix - (value required) Scoring Matrix name + Scoring Matrix name -d, --isDna The input sequences are DNA -g , --gapExtend - (value required) The cost for each extension of a gap + The cost for each extension of a gap -f , --gapCreate - (value required) The cost of creating a gap + The cost of creating a gap -n , --name (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 diff --git a/tests/test49.out b/tests/test49.out index ca5e829..f38c950 100644 --- a/tests/test49.out +++ b/tests/test49.out @@ -3,8 +3,8 @@ PARSE ERROR: Argument: -s (--stringTest) Brief USAGE: ../examples/test8 [-f=] ... [-i=] ... -s= [-B] - [--] [-v] [-h] - ... + [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test8 --help diff --git a/tests/test50.out b/tests/test50.out index ca5e829..f38c950 100644 --- a/tests/test50.out +++ b/tests/test50.out @@ -3,8 +3,8 @@ PARSE ERROR: Argument: -s (--stringTest) Brief USAGE: ../examples/test8 [-f=] ... [-i=] ... -s= [-B] - [--] [-v] [-h] - ... + [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test8 --help diff --git a/tests/test51.out b/tests/test51.out index f9acc1d..8c59094 100644 --- a/tests/test51.out +++ b/tests/test51.out @@ -3,8 +3,8 @@ PARSE ERROR: Brief USAGE: ../examples/test8 [-f=] ... [-i=] ... -s= [-B] - [--] [-v] [-h] - ... + [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test8 --help diff --git a/tests/test52.out b/tests/test52.out index c28e368..aaf4e18 100644 --- a/tests/test52.out +++ b/tests/test52.out @@ -3,8 +3,8 @@ PARSE ERROR: Argument: -i (--intTest) Brief USAGE: ../examples/test8 [-f=] ... [-i=] ... -s= [-B] - [--] [-v] [-h] - ... + [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test8 --help diff --git a/tests/test53.out b/tests/test53.out index fd15cd5..e791c7f 100644 --- a/tests/test53.out +++ b/tests/test53.out @@ -3,8 +3,8 @@ PARSE ERROR: Argument: -f (--floatTest) Brief USAGE: ../examples/test8 [-f=] ... [-i=] ... -s= [-B] - [--] [-v] [-h] - ... + [--] [--version] [-h] + ... For complete USAGE and HELP type: ../examples/test8 --help diff --git a/tests/test54.out b/tests/test54.out index 1c1bf5e..f92b812 100644 --- a/tests/test54.out +++ b/tests/test54.out @@ -2,20 +2,20 @@ USAGE: ../examples/test8 [-f=] ... [-i=] ... -s= [-B] - [--] [-v] [-h] - ... + [--] [--version] [-h] + ... Where: -f , --floatTest (accepted multiple times) - (value required) multi float test + multi float test -i , --intTest (accepted multiple times) - (value required) multi int test + multi int test -s , --stringTest - (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. - (required) (value required) unlabeled test one + (required) unlabeled test one - (required) (value required) unlabeled test two + (required) unlabeled test two (accepted multiple times) - (value required) file names + file names this is a message diff --git a/tests/test57.out b/tests/test57.out index e84d8dc..c31744c 100644 --- a/tests/test57.out +++ b/tests/test57.out @@ -4,7 +4,7 @@ PARSE ERROR: Brief USAGE: ../examples/test5 {-a |-b } {--eee |--fff |-g } {-i ... |-j - ... } [--ddd] -c [--] [-v] [-h] + ... } [--ddd] -c [--] [--version] [-h] For complete USAGE and HELP type: ../examples/test5 --help diff --git a/tests/test59.out b/tests/test59.out index 714fb55..7460c6d 100644 --- a/tests/test59.out +++ b/tests/test59.out @@ -1,3 +1,4 @@ REVERSE Verbose level: 3 Noise level: 7 +Word: blah diff --git a/tests/test60.out b/tests/test60.out index 87ebfd0..d96dcea 100644 --- a/tests/test60.out +++ b/tests/test60.out @@ -4,7 +4,7 @@ PARSE ERROR: Argument: -r (--reverse) USAGE: - ../examples/test9 [-N] ... [-V] ... [-r] [--] + ../examples/test9 [-N] ... [-V] ... [-r] [--] Where: @@ -21,6 +21,9 @@ Where: --, --ignore_rest Ignores the rest of the labeled arguments following this flag. + + a random word + Command description message diff --git a/tests/test7.out b/tests/test7.out index 234269c..2f583f5 100644 --- a/tests/test7.out +++ b/tests/test7.out @@ -2,19 +2,19 @@ USAGE: ../examples/test2 [-f ] -i -s [-A] [-C] [-B] [--] - [-v] [-h] ... + [--version] [-h] ... Where: -f , --floatTest - (value required) float test + float test -i , --intTest - (required) (value required) integer test + (required) integer test -s , --stringTest - (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. - (required) (value required) unlabeld test + (required) unlabeld test (accepted multiple times) - (value required) file names + file names this is a message