Merge pull request #15 from walle/fix_lint_warning

Fix lint warning
This commit is contained in:
Alex Flint 2015-11-11 09:33:24 -08:00
commit 0f9dfa27d1
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)
}