diff options
Diffstat (limited to 'commands/account/next.go')
-rw-r--r-- | commands/account/next.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/next.go b/commands/account/next.go index 604dcd7c..e1d3eeb6 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) } |