simplify Fprint call

This commit is contained in:
Alex Flint 2019-05-03 15:50:41 -07:00
parent b83047068d
commit 3c5e61a292
1 changed files with 1 additions and 1 deletions

View File

@ -56,7 +56,7 @@ func (p *Parser) writeUsageForCommand(w io.Writer, cmd *command) {
}
// print the beginning of the usage string
fmt.Fprintf(w, "Usage:")
fmt.Fprint(w, "Usage:")
for i := len(ancestors) - 1; i >= 0; i-- {
fmt.Fprint(w, " "+ancestors[i])
}