From: <li...@mi...> - 2007-07-29 11:53:54
|
Hi Mike, I think one of the most obvious missing features of Genparse is that it doesn't yet support optional arguments. getopt_long supports optional arguments however. I want to implement it by allowing an optional * both after the short and the long option. Examples: o* / oparam* string "Both short and long option have an optional argument." p* / pparam string "Short option has an optional argument," "long option requires an argument." q / qparam* string "Short option reqires an argument," "long option has an optional argument." Michael |