convert config flags to proper boolean value

If you like this, perhaps this functionality should also be present for subcommand flags.