-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Flag defaults should support pflag SliceValue (#5632)
* use non-reflection in flags, and set defaults * Add support for setting default values for pflag SliceValues * shift setting of defaults * oops restore %v * log fatal error for unhandled default value type
- Loading branch information
1 parent
bb89cbb
commit bcb2eaa
Showing
2 changed files
with
74 additions
and
21 deletions.
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