summaryrefslogtreecommitdiff
path: root/usage.go
diff options
context:
space:
mode:
Diffstat (limited to 'usage.go')
-rw-r--r--usage.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/usage.go b/usage.go
index 69e4e62..1f6b569 100644
--- a/usage.go
+++ b/usage.go
@@ -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])
}