commit | c9109cd15e4d71bea15fea5231b0ac57203cb36c | [log] [tgz] |
---|---|---|
author | darkfeline <darkfeline@felesatra.moe> | Wed Nov 16 16:00:06 2022 -0800 |
committer | GitHub <noreply@github.com> | Wed Nov 16 16:00:06 2022 -0800 |
tree | dc9cf42074b1d5c80a0d8309c097428394b3c680 | |
parent | 24aea2b9b9c12400919203843c92ef808c7ad560 [diff] |
Fix comment for Alias (#36)
diff --git a/subcommands.go b/subcommands.go index 39268f7..bbc5f0f 100644 --- a/subcommands.go +++ b/subcommands.go
@@ -440,7 +440,7 @@ 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} }