summaryrefslogtreecommitdiff
path: root/cmd/podman/healthcheck
diff options
context:
space:
mode:
Diffstat (limited to 'cmd/podman/healthcheck')
-rw-r--r--cmd/podman/healthcheck/healthcheck.go9
-rw-r--r--cmd/podman/healthcheck/run.go13
2 files changed, 11 insertions, 11 deletions
diff --git a/cmd/podman/healthcheck/healthcheck.go b/cmd/podman/healthcheck/healthcheck.go
index f48701624..15ed47d39 100644
--- a/cmd/podman/healthcheck/healthcheck.go
+++ b/cmd/podman/healthcheck/healthcheck.go
@@ -10,11 +10,10 @@ import (
var (
// Command: healthcheck
healthCmd = &cobra.Command{
- Use: "healthcheck",
- Short: "Manage health checks on containers",
- Long: "Run health checks on containers",
- TraverseChildren: true,
- RunE: validate.SubCommandExists,
+ Use: "healthcheck",
+ Short: "Manage health checks on containers",
+ Long: "Run health checks on containers",
+ RunE: validate.SubCommandExists,
}
)
diff --git a/cmd/podman/healthcheck/run.go b/cmd/podman/healthcheck/run.go
index 5612910cb..17ddf17b6 100644
--- a/cmd/podman/healthcheck/run.go
+++ b/cmd/podman/healthcheck/run.go
@@ -12,12 +12,13 @@ import (
var (
healthcheckRunDescription = "run the health check of a container"
healthcheckrunCommand = &cobra.Command{
- Use: "run [flags] CONTAINER",
- Short: "run the health check of a container",
- Long: healthcheckRunDescription,
- Example: `podman healthcheck run mywebapp`,
- RunE: run,
- Args: cobra.ExactArgs(1),
+ Use: "run CONTAINER",
+ Short: "run the health check of a container",
+ Long: healthcheckRunDescription,
+ Example: `podman healthcheck run mywebapp`,
+ RunE: run,
+ Args: cobra.ExactArgs(1),
+ DisableFlagsInUseLine: true,
}
)