diff options
| author | Alex Flint <[email protected]> | 2019-05-03 15:50:41 -0700 |
|---|---|---|
| committer | Alex Flint <[email protected]> | 2019-05-03 15:50:41 -0700 |
| commit | 3c5e61a2927728226af0abafab402c511c4e27ac (patch) | |
| tree | 592a865d976d80f82d4a6884a7db3b140ed781eb /usage.go | |
| parent | b83047068d06bf682cdcaad3a090ff289df827b1 (diff) | |
simplify Fprint call
Diffstat (limited to 'usage.go')
| -rw-r--r-- | usage.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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]) } |
