We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8cff8e6 commit 13ba9aaCopy full SHA for 13ba9aa
docs.go
@@ -571,7 +571,7 @@ func (tabularTemplate) Prettify(s string) string {
571
// a GetValue string method, but it was removed in https://github.com/urfave/cli/pull/1988.
572
// This function serves as a workaround, attempting to retrieve the value using the removed method; if that fails, it
573
// 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.
+// It also checks if there is a DefaultText and if set returns it.
575
func getFlagDefaultValue(f cli.DocGenerationFlag) (value, text string) {
576
if !f.TakesValue() {
577
return "", ""
0 commit comments