aboutsummaryrefslogtreecommitdiffstats
path: root/commands/compose/detach.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/compose/detach.go')
-rw-r--r--commands/compose/detach.go6
1 files changed, 5 insertions, 1 deletions
diff --git a/commands/compose/detach.go b/commands/compose/detach.go
index 0ac3334e..36c7c314 100644
--- a/commands/compose/detach.go
+++ b/commands/compose/detach.go
@@ -12,7 +12,11 @@ type Detach struct {
}
func init() {
- register(Detach{})
+ commands.Register(Detach{})
+}
+
+func (Detach) Context() commands.CommandContext {
+ return commands.COMPOSE
}
func (Detach) Aliases() []string {