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