E.g. if -a and -b are both specified then the last one specified will be used.
A workaround might be adding --mode option and specify --mode=a or --mode=b.
I'd propose to extend/change the OptionDecoder interface, where both option name and value are passed to the Decode function.
E.g. if
-aand-bare both specified then the last one specified will be used.A workaround might be adding
--modeoption and specify--mode=aor--mode=b.I'd propose to extend/change the
OptionDecoderinterface, where both option name and value are passed to theDecodefunction.