aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/abort.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/abort.go')
-rw-r--r--commands/compose/abort.go7
1 files changed, 6 insertions, 1 deletions
diff --git a/commands/compose/abort.go b/commands/compose/abort.go
index cde43f46..f446c306 100644
--- a/commands/compose/abort.go
+++ b/commands/compose/abort.go
@@ -2,12 +2,17 @@ package compose
import (
"git.sr.ht/~rjarry/aerc/app"
+ "git.sr.ht/~rjarry/aerc/commands"
)
type Abort struct{}
func init() {
- register(Abort{})
+ commands.Register(Abort{})
+}
+
+func (Abort) Context() commands.CommandContext {
+ return commands.COMPOSE
}
func (Abort) Aliases() []string {