fix parsing of bundled short options
fix parsing of bundled short options

some copypasting is involved, but DRY and broken is useless.

roman-neuhauser/haveopt,roman-neuhauser/haveopt,roman-neuhauser/haveopt