aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/next-field.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/next-field.go')
-rw-r--r--commands/compose/next-field.go9
1 files changed, 0 insertions, 9 deletions
diff --git a/commands/compose/next-field.go b/commands/compose/next-field.go
index be5f8e53..88fbb03d 100644
--- a/commands/compose/next-field.go
+++ b/commands/compose/next-field.go
@@ -1,8 +1,6 @@
package compose
import (
- "fmt"
-
"git.sr.ht/~rjarry/aerc/app"
)
@@ -21,9 +19,6 @@ func (NextPrevField) Complete(args []string) []string {
}
func (NextPrevField) Execute(args []string) error {
- if len(args) > 2 {
- return nextPrevFieldUsage(args[0])
- }
composer, _ := app.SelectedTabContent().(*app.Composer)
if args[0] == "prev-field" {
composer.PrevField()
@@ -32,7 +27,3 @@ func (NextPrevField) Execute(args []string) error {
}
return nil
}
-
-func nextPrevFieldUsage(cmd string) error {
- return fmt.Errorf("Usage: %s", cmd)
-}