diff options
author | Wagner Riffel <wgrriffel@gmail.com> | 2019-09-03 16:34:03 -0300 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2019-09-04 16:30:57 -1000 |
commit | 6838c23478944a9b45df1fa9a0f432ec77423987 (patch) | |
tree | df6c5eb1c3bb4af779f98dd5ec9fa2d5b7658b4f /commands/help.go | |
parent | c6b776adbfb11ba34756a1d4f770b15c2fb3cb46 (diff) | |
download | aerc-6838c23478944a9b45df1fa9a0f432ec77423987.tar.gz |
all: purge redundant underscores
Signed-off-by: Wagner Riffel <wgrriffel@gmail.com>
Diffstat (limited to 'commands/help.go')
-rw-r--r-- | commands/help.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/help.go b/commands/help.go index c4ed4fff..b27c2f03 100644 --- a/commands/help.go +++ b/commands/help.go @@ -12,15 +12,15 @@ func init() { register(Help{}) } -func (_ Help) Aliases() []string { +func (Help) Aliases() []string { return []string{"help"} } -func (_ Help) Complete(aerc *widgets.Aerc, args []string) []string { +func (Help) Complete(aerc *widgets.Aerc, args []string) []string { return nil } -func (_ Help) Execute(aerc *widgets.Aerc, args []string) error { +func (Help) Execute(aerc *widgets.Aerc, args []string) error { page := "aerc" if len(args) == 2 { page = "aerc-" + args[1] |