diff options
Diffstat (limited to 'commands/compose/attach-key.go')
-rw-r--r-- | commands/compose/attach-key.go | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/commands/compose/attach-key.go b/commands/compose/attach-key.go index 74e05bb7..e81a6a5a 100644 --- a/commands/compose/attach-key.go +++ b/commands/compose/attach-key.go @@ -1,8 +1,6 @@ package compose import ( - "errors" - "git.sr.ht/~rjarry/aerc/app" ) @@ -21,11 +19,6 @@ func (AttachKey) Complete(args []string) []string { } func (AttachKey) Execute(args []string) error { - if len(args) != 1 { - return errors.New("Usage: attach-key") - } - composer, _ := app.SelectedTabContent().(*app.Composer) - return composer.SetAttachKey(!composer.AttachKey()) } |