aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/header.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/header.go')
-rw-r--r--commands/compose/header.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/compose/header.go b/commands/compose/header.go
index 3283d4e3..839896c3 100644
--- a/commands/compose/header.go
+++ b/commands/compose/header.go
@@ -26,7 +26,11 @@ var headers = []string{
}
func init() {
- register(Header{})
+ commands.Register(Header{})
+}
+
+func (Header) Context() commands.CommandContext {
+ return commands.COMPOSE
}
func (Header) Aliases() []string {