diff options
Diffstat (limited to 'commands/msgview/toggle-headers.go')
-rw-r--r-- | commands/msgview/toggle-headers.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/msgview/toggle-headers.go b/commands/msgview/toggle-headers.go index f13e27d..e777d9b 100644 --- a/commands/msgview/toggle-headers.go +++ b/commands/msgview/toggle-headers.go @@ -1,7 +1,6 @@ package msgview import ( - "errors" "fmt" "git.sr.ht/~sircmpwn/aerc/widgets" @@ -31,5 +30,5 @@ func (ToggleHeaders) Execute(aerc *widgets.Aerc, args []string) error { } func toggleHeadersUsage(cmd string) error { - return errors.New(fmt.Sprintf("Usage: %s", cmd)) + return fmt.Errorf("Usage: %s", cmd) } |