Correctly parse boolean flags in combination with config options. #104

Config option should act as default, while flag should override it only if set.