aboutsummaryrefslogtreecommitdiff
path: root/commands/account/next-folder.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/account/next-folder.go')
-rw-r--r--commands/account/next-folder.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/commands/account/next-folder.go b/commands/account/next-folder.go
index 6a22772..037cd31 100644
--- a/commands/account/next-folder.go
+++ b/commands/account/next-folder.go
@@ -49,5 +49,5 @@ func (NextPrevFolder) Execute(aerc *widgets.Aerc, args []string) error {
}
func nextPrevFolderUsage(cmd string) error {
- return errors.New(fmt.Sprintf("Usage: %s [n]", cmd))
+ return fmt.Errorf("Usage: %s [n]", cmd)
}