aboutsummaryrefslogtreecommitdiffstats
path: root/commands/msg/toggle-threads.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/msg/toggle-threads.go')
-rw-r--r--commands/msg/toggle-threads.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/commands/msg/toggle-threads.go b/commands/msg/toggle-threads.go
index 1d38685a..88cc763f 100644
--- a/commands/msg/toggle-threads.go
+++ b/commands/msg/toggle-threads.go
@@ -1,8 +1,6 @@
package msg
import (
- "errors"
-
"git.sr.ht/~rjarry/aerc/lib/state"
"git.sr.ht/~rjarry/aerc/lib/ui"
)
@@ -22,9 +20,6 @@ func (ToggleThreads) Complete(args []string) []string {
}
func (ToggleThreads) Execute(args []string) error {
- if len(args) != 1 {
- return errors.New("Usage: toggle-threads")
- }
h := newHelper()
acct, err := h.account()
if err != nil {