about summary refs log tree commit diff stats
path: root/commands/account/next-result.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/next-result.go')
-rw-r--r--commands/account/next-result.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/next-result.go b/commands/account/next-result.go
index ab050af..78d437d 100644
--- a/commands/account/next-result.go
+++ b/commands/account/next-result.go
@@ -46,5 +46,5 @@ func (NextPrevResult) Execute(aerc *widgets.Aerc, args []string) error {
 }
 
 func nextPrevResultUsage(cmd string) error {
-	return errors.New(fmt.Sprintf("Usage: %s [<n>[%%]]", cmd))
+	return fmt.Errorf("Usage: %s [<n>[%%]]", cmd)
 }