Skip to content

Commit 13ba9aa

Browse files
authored
Update docs.go
1 parent 8cff8e6 commit 13ba9aa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -571,7 +571,7 @@ func (tabularTemplate) Prettify(s string) string {
571571
// a GetValue string method, but it was removed in https://github.com/urfave/cli/pull/1988.
572572
// This function serves as a workaround, attempting to retrieve the value using the removed method; if that fails, it
573573
// tries to obtain it via reflection (the [cli.FlagBase] still has a Value field).
574-
// It also checks if there is a DefaultText and if it differs from value and is set we will return that one.
574+
// It also checks if there is a DefaultText and if set returns it.
575575
func getFlagDefaultValue(f cli.DocGenerationFlag) (value, text string) {
576576
if !f.TakesValue() {
577577
return "", ""

0 commit comments

Comments
 (0)