summaryrefslogtreecommitdiff
path: root/usage.go
diff options
context:
space:
mode:
Diffstat (limited to 'usage.go')
-rw-r--r--usage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/usage.go b/usage.go
index e936811..7d2a517 100644
--- a/usage.go
+++ b/usage.go
@@ -301,7 +301,7 @@ func (p *Parser) printOption(w io.Writer, spec *spec) {
ways = append(ways, synopsis(spec, "-"+spec.short))
}
if len(ways) > 0 {
- printTwoCols(w, strings.Join(ways, ", "), spec.help, spec.defaultVal, spec.env)
+ printTwoCols(w, strings.Join(ways, ", "), spec.help, spec.defaultString, spec.env)
}
}