commit
0f9dfa27d1
3
usage.go
3
usage.go
|
@ -103,7 +103,6 @@ func (p *Parser) WriteHelp(w io.Writer) {
|
||||||
func synopsis(spec *spec, form string) string {
|
func synopsis(spec *spec, form string) string {
|
||||||
if spec.dest.Kind() == reflect.Bool {
|
if spec.dest.Kind() == reflect.Bool {
|
||||||
return form
|
return form
|
||||||
} else {
|
}
|
||||||
return form + " " + strings.ToUpper(spec.long)
|
return form + " " + strings.ToUpper(spec.long)
|
||||||
}
|
}
|
||||||
}
|
|
||||||
|
|
Loading…
Reference in New Issue