18438 - application option parser boolean parsing not working

OptionParser supports boolean flags in the form --[no-]noop which when
called on the command line as --noop would set true and false when
called as --no-noop

We always set boolean flags to true and never supported the inverse mode
correctly, this commit handles that scenario