-
-
Notifications
You must be signed in to change notification settings - Fork 103
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
util: Always override config file flags from the command line
Currently we check whether a flag's current value differs from its default in order to skip the value from the config file. That works in most cases, but as a result it is not possible to override a value from the config by explicitly passing the default value: [mr_show] comments = true $ lab mr show --comments=false Fix this by checking the flag's Changed property instead.
- Loading branch information
Showing
2 changed files
with
28 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters