From e48d4197c1694404a2ecd8d7342edabe89825815 Mon Sep 17 00:00:00 2001 From: Ed Santiago Date: Wed, 6 Mar 2019 16:33:42 -0700 Subject: Yet another seemingly minor tweak to usage message Add explicit [flags] to podman healthcheck run Use message. Reason: Cobra checks for the string '[flags]' in the Use text. If absent, and command has options, Cobra appends it. This is misleading to humans, because the --help output looks like: podman healthcheck run CONTAINER [flags] ...when of course that won't work. Signed-off-by: Ed Santiago --- cmd/podman/healthcheck_run.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cmd/podman') diff --git a/cmd/podman/healthcheck_run.go b/cmd/podman/healthcheck_run.go index a91f87146..d92b2ac01 100644 --- a/cmd/podman/healthcheck_run.go +++ b/cmd/podman/healthcheck_run.go @@ -13,7 +13,7 @@ var ( healthcheckRunCommand cliconfig.HealthCheckValues healthcheckRunDescription = "run the health check of a container" _healthcheckrunCommand = &cobra.Command{ - Use: "run CONTAINER", + Use: "run [flags] CONTAINER", Short: "run the health check of a container", Long: healthcheckRunDescription, Example: `podman healthcheck run mywebapp`, -- cgit v1.2.3-54-g00ecf