Revert "18438 - application option parser boolean parsing not working"

This reverts commit a3c2ea5defd4a2d9a3fa39b96984a06b479fc2e1.

The change introduce a backward incompatible behaviour change and might
impact applications users wrote - it also breaks the general use
--no-progress and --no-result flags