[Mono-dev] Program Option Parsing Library
Leszek Ciesielski
skolima at gmail.com
Thu Jan 10 17:08:38 EST 2008
> There's a test for this -- see Test.CheckExceptions(). An
> InvalidOperationException would be generated if --foo requires a value
> and --bar is registered (i.e. "-a -a" throws). If --bar is NOT
> registered, then --foo gets the value --bar.
Sorry to cut in, but some unix utilities use -v to increase verbosity
and accept it multiple times to increase the amount of information
printed. I suppose your code does not permit this?
More information about the Mono-devel-list
mailing list