We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ddcf571 commit 866e8b9Copy full SHA for 866e8b9
1 file changed
docs.go
@@ -567,11 +567,7 @@ func (tabularTemplate) Prettify(s string) string {
567
// cli.BoolFlag will always return an default.
568
func getFlagDefaultValue(f cli.DocGenerationFlag) (value, text string) {
569
if defaultText := f.GetDefaultText(); defaultText != "" {
570
- if _, ok := f.(*cli.StringFlag); ok {
571
- return "", strings.Trim(defaultText, "\"")
572
- } else {
573
- return "", defaultText
574
- }
+ return "", defaultText
575
}
576
577
if !f.TakesValue() {
0 commit comments