diff options
author | darkfeline <darkfeline@felesatra.moe> | 2022-11-16 16:00:06 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-16 16:00:06 -0800 |
commit | c9109cd15e4d71bea15fea5231b0ac57203cb36c (patch) | |
tree | dc9cf42074b1d5c80a0d8309c097428394b3c680 | |
parent | 24aea2b9b9c12400919203843c92ef808c7ad560 (diff) | |
download | go-subcommands-upstream-master.tar.gz |
Fix comment for Alias (#36)upstream-master
-rw-r--r-- | subcommands.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/subcommands.go b/subcommands.go index 39268f7..bbc5f0f 100644 --- a/subcommands.go +++ b/subcommands.go @@ -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} } |