usage: test-tool parse-options <options>
A helper function for the parse-options API.
--[no-]yes get a boolean
-D, --no-doubt begins with 'no-'
--doubt opposite of --no-doubt
-B, --no-fear be brave
-b, --[no-]boolean increment by one
-4, --[no-]or4 bitwise-or boolean with ...0100
--[no-]neg-or4 same as --no-or4
-i, --[no-]integer <n>
get a integer
--[no-]i16 <n> get a 16 bit integer
-j <n> get a integer, too
-u, --unsigned <n> get an unsigned integer
--u16 <n> get a 16 bit unsigned integer
--[no-]set23 set integer to 23
--mode1 set integer to 1 (cmdmode option)
--mode2 set integer to 2 (cmdmode option)
--[no-]mode34 (3|4) set integer to 3 or 4 (cmdmode option)
-L, --[no-]length <str>
get length of <str>
-F, --[no-]file <file>
set file to <file>
String options
-s, --[no-]string <string>
get a string
--[no-]string2 <str> get another string
--[no-]st <st> get another string (pervert ordering)
-o <str> get another string
--longhelp help text of this entry
spans multiple lines
--[no-]list <str> add str to list
Magic arguments
-NUM set integer to NUM
+ same as -b
--ambiguous positive ambiguity
--no-ambiguous negative ambiguity
Standard options
--[no-]abbrev[=<n>] use <n> digits to display object names
-v, --[no-]verbose be verbose
-n, --[no-]dry-run dry run
-q, --[no-]quiet be quiet
--[no-]expect <string>
expected output in the variable dump
Alias
-A, --[no-]alias-source <string>
get a string
-Z, --[no-]alias-target <string>
alias of --alias-source