Skip to content

Commit

Permalink
Fix comment for Alias (#36)
Browse files Browse the repository at this point in the history
  • Loading branch information
darkfeline authored Nov 17, 2022
1 parent 24aea2b commit c9109cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion subcommands.go
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ type aliaser struct {

func (a *aliaser) Name() string { return a.alias }

// Alias returns a Command alias which implements a "commands" subcommand.
// Alias returns a Command alias with the given name.
func Alias(alias string, cmd Command) Command {
return &aliaser{alias, cmd}
}
Expand Down

0 comments on commit c9109cd

Please sign in to comment.