aboutsummaryrefslogtreecommitdiff
path: root/commands/account/next.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/next.go')
-rw-r--r--commands/account/next.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/next.go b/commands/account/next.go
index 604dcd7..e1d3eeb 100644
--- a/commands/account/next.go
+++ b/commands/account/next.go
@@ -78,5 +78,5 @@ func ExecuteNextPrevMessage(args []string, acct *widgets.AccountView, pct bool,
}
func nextPrevMessageUsage(cmd string) error {
- return errors.New(fmt.Sprintf("Usage: %s [<n>[%%]]", cmd))
+ return fmt.Errorf("Usage: %s [<n>[%%]]", cmd)
}