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