Skip to content

Commit

Permalink
Merge pull request #59 from suntong/master
Browse files Browse the repository at this point in the history
add space before the Aliases "(", closes #58
  • Loading branch information
suntong authored Feb 15, 2021
2 parents 39aca8f + 0576bee commit 65670eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion command.go
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,7 @@ func (cmd *Command) ChildrenDescriptions(prefix, indent string) string {
for _, child := range cmd.children {
aliases := ""
if child.Aliases != nil && len(child.Aliases) > 0 {
aliasesBuff := bytes.NewBufferString("(aliases ")
aliasesBuff := bytes.NewBufferString(" (aliases ")
aliasesBuff.WriteString(strings.Join(child.Aliases, ","))
aliasesBuff.WriteString(")")
aliases = aliasesBuff.String()
Expand Down

0 comments on commit 65670eb

Please sign in to comment.