Skip to content

Commit

Permalink
Merge pull request #10 from bored-engineer/patch-1
Browse files Browse the repository at this point in the history
Fixes Issue #9
  • Loading branch information
rs committed Dec 2, 2019
2 parents 4bf7124 + 492c714 commit 8476276
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion formatter/help.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type HelpAdapter struct {
func (j HelpAdapter) Write(p []byte) (n int, err error) {
n = len(p)
cmd := "curlie"
if len(j.CmdName) == 0 {
if j.CmdName != "" {
cmd = j.CmdName
}
p = bytes.Replace(p,
Expand Down

0 comments on commit 8476276

Please sign in to comment.