aboutsummaryrefslogtreecommitdiff
path: root/cmd/podman/attach.go
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/attach.go')
-rw-r--r--cmd/podman/attach.go13
1 files changed, 7 insertions, 6 deletions
diff --git a/cmd/podman/attach.go b/cmd/podman/attach.go
index 91c5f654d..5b58c022a 100644
--- a/cmd/podman/attach.go
+++ b/cmd/podman/attach.go
@@ -27,12 +27,13 @@ var (
}
attachDescription = "The podman attach command allows you to attach to a running container using the container's ID or name, either to view its ongoing output or to control it interactively."
attachCommand = cli.Command{
- Name: "attach",
- Usage: "Attach to a running container",
- Description: attachDescription,
- Flags: attachFlags,
- Action: attachCmd,
- ArgsUsage: "",
+ Name: "attach",
+ Usage: "Attach to a running container",
+ Description: attachDescription,
+ Flags: attachFlags,
+ Action: attachCmd,
+ ArgsUsage: "",
+ OnUsageError: usageErrorHandler,
}
)