summaryrefslogtreecommitdiff
path: root/testit.sh
diff options
context:
space:
mode:
Diffstat (limited to 'testit.sh')
-rwxr-xr-xtestit.sh17
1 files changed, 9 insertions, 8 deletions
diff --git a/testit.sh b/testit.sh
index 1f833f9..857f6a4 100755
--- a/testit.sh
+++ b/testit.sh
@@ -112,17 +112,18 @@ run test1 "test1 - 54" "arg1: 0 arg2: (none) aFlag: 0x28c" --bitclr
run test1 "test1 - 55" "arg1: 0 arg2: (none) aFlag: 0x8888" --nobitset
run test1 "test1 - 56" "arg1: 0 arg2: (none) aFlag: 0xface" --nobitclr
-run test1 "test1 - 55" "\
+run test1 "test1 - 57" "arg1: 0 arg2: (none) aBits: non-null" --bits foo --bits bar
+
+run test1 "test1 - 58" "\
Usage: lt-test1 [-I?] [-c|--cb2=STRING] [--arg1] [-2|--arg2=ARG]
[-3|--arg3=ANARG] [-onedash] [--optional=STRING] [--val]
[-i|--int=INT] [-s|--short=SHORT] [-l|--long=LONG]
[-L|--longlong=LONGLONG] [-f|--float=FLOAT] [-d|--double=DOUBLE]
[--randint=INT] [--randshort=SHORT] [--randlong=LONG]
- [--randlonglong=LONGLONG] [--argv] [--bitset] [--bitclr] [--bitxor]
- [--nstr=STRING] [--lstr=STRING] [-I|--inc] [-c|--cb=STRING]
- [--longopt] [-?|--help] [--usage] [--simple=ARG]" --usage
-
-run test1 "test1 - 56" "\
+ [--randlonglong=LONGLONG] [--argv=STRING] [--bitset] [--bitclr]
+ [--bitxor] [--nstr=STRING] [--lstr=STRING] [-I|--inc]
+ [-c|--cb=STRING] [--longopt] [-?|--help] [--usage] [--simple=ARG]" --usage
+run test1 "test1 - 59" "\
Usage: lt-test1 [OPTION...]
--arg1 First argument with a really long
description. After all, we have to test
@@ -144,8 +145,8 @@ Usage: lt-test1 [OPTION...]
--randshort=SHORT POPT_ARGFLAG_RANDOM: experimental
--randlong=LONG POPT_ARGFLAG_RANDOM: experimental
--randlonglong=LONGLONG POPT_ARGFLAG_RANDOM: experimental
- --argv POPT_ARG_ARGV: append arg to array (can be
- used multiple times)
+ --argv STRING POPT_ARG_ARGV: append string to argv array
+ (can be used multiple times)
--[no]bitset POPT_BIT_SET: |= 0x7777
--[no]bitclr POPT_BIT_CLR: &= ~0xf842
--bitxor POPT_ARGFLAG_XOR: ^= (0x8ace^0xfeed)