diff options
Diffstat (limited to 'commands/ct.go')
-rw-r--r-- | commands/ct.go | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/commands/ct.go b/commands/ct.go index 4e66331c..f84e8a9c 100644 --- a/commands/ct.go +++ b/commands/ct.go @@ -15,11 +15,11 @@ func init() { register(ChangeTab{}) } -func (_ ChangeTab) Aliases() []string { +func (ChangeTab) Aliases() []string { return []string{"ct", "change-tab"} } -func (_ ChangeTab) Complete(aerc *widgets.Aerc, args []string) []string { +func (ChangeTab) Complete(aerc *widgets.Aerc, args []string) []string { if len(args) == 0 { return aerc.TabNames() } @@ -32,7 +32,7 @@ func (_ ChangeTab) Complete(aerc *widgets.Aerc, args []string) []string { return out } -func (_ ChangeTab) Execute(aerc *widgets.Aerc, args []string) error { +func (ChangeTab) Execute(aerc *widgets.Aerc, args []string) error { if len(args) != 2 { return errors.New(fmt.Sprintf("Usage: %s <tab>", args[0])) } |