Fix lint warning

This commit is contained in:
Fredrik Wallgren 2015-11-11 14:08:28 +01:00
parent a49bba8533
commit d6a447ed7c
No known key found for this signature in database
GPG Key ID: F47F4EC105BDC53E
1 changed files with 1 additions and 2 deletions

View File

@ -103,7 +103,6 @@ func (p *Parser) WriteHelp(w io.Writer) {
func synopsis(spec *spec, form string) string {
if spec.dest.Kind() == reflect.Bool {
return form
} else {
return form + " " + strings.ToUpper(spec.long)
}
return form + " " + strings.ToUpper(spec.long)
}