diff options
Diffstat (limited to 'commands/ct.go')
-rw-r--r-- | commands/ct.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/ct.go b/commands/ct.go index f84e8a9..3cae0bd 100644 --- a/commands/ct.go +++ b/commands/ct.go @@ -34,7 +34,7 @@ func (ChangeTab) Complete(aerc *widgets.Aerc, args []string) []string { func (ChangeTab) Execute(aerc *widgets.Aerc, args []string) error { if len(args) != 2 { - return errors.New(fmt.Sprintf("Usage: %s <tab>", args[0])) + return fmt.Errorf("Usage: %s <tab>", args[0]) } if args[1] == "-" { ok := aerc.SelectPreviousTab() |