diff options
Diffstat (limited to 'commands/compose/sign.go')
-rw-r--r-- | commands/compose/sign.go | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/commands/compose/sign.go b/commands/compose/sign.go index ae7c3417..e30fca05 100644 --- a/commands/compose/sign.go +++ b/commands/compose/sign.go @@ -1,7 +1,6 @@ package compose import ( - "errors" "time" "git.sr.ht/~rjarry/aerc/app" @@ -22,10 +21,6 @@ func (Sign) Complete(args []string) []string { } func (Sign) Execute(args []string) error { - if len(args) != 1 { - return errors.New("Usage: sign") - } - composer, _ := app.SelectedTabContent().(*app.Composer) err := composer.SetSign(!composer.Sign()) |