forked from spf13/pflag
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Prevent help output from escaping default values as go strings
When creating the help text for a flag, the default value shouldn't be be excaped. It isn't clear to an end user that we would be escaping those values. Instead we should be printing the actual value and letting the users decide when/how to add escaping based on how they're utilzing it. Fixes spf13#346 Signed-off-by: John Schnake <jschnake@vmware.com>
- Loading branch information
1 parent
d5e0c06
commit 1833377
Showing
2 changed files
with
5 additions
and
3 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