clean up surrounding whitespace in the help output

This commit is contained in:
rick 2015-09-17 15:56:06 -06:00
parent 50cf12eee4
commit ff8c102f5d

@ -224,7 +224,7 @@ func determineIncludeExcludePaths(includeArg, excludeArg string) (include, exclu
func printHelp(commandName string) {
if txt, ok := ManPages[commandName]; ok {
fmt.Fprintf(os.Stderr, txt)
fmt.Fprintf(os.Stderr, "%s\n", strings.TrimSpace(txt))
} else {
fmt.Fprintf(os.Stderr, "Sorry, no usage text found for %q\n", commandName)
}