diff options
Diffstat (limited to 'commands/compose')
-rw-r--r-- | commands/compose/next-field.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/compose/next-field.go b/commands/compose/next-field.go index 43ae6448..a81852e9 100644 --- a/commands/compose/next-field.go +++ b/commands/compose/next-field.go @@ -1,7 +1,6 @@ package compose import ( - "errors" "fmt" "git.sr.ht/~sircmpwn/aerc/widgets" @@ -35,5 +34,5 @@ func (NextPrevField) Execute(aerc *widgets.Aerc, args []string) error { } func nextPrevFieldUsage(cmd string) error { - return errors.New(fmt.Sprintf("Usage: %s", cmd)) + return fmt.Errorf("Usage: %s", cmd) } |