diff options
Diffstat (limited to 'usage.go')
| -rw-r--r-- | usage.go | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -117,6 +117,9 @@ func (p *Parser) writeUsageForCommand(w io.Writer, cmd *command) { } func printTwoCols(w io.Writer, left, help string, defaultVal string, envVal string) { + if left == "" { + return + } lhs := " " + left fmt.Fprint(w, lhs) if help != "" { |
