From e48d4197c1694404a2ecd8d7342edabe89825815 Mon Sep 17 00:00:00 2001
From: Ed Santiago <santiago@redhat.com>
Date: Wed, 6 Mar 2019 16:33:42 -0700
Subject: [PATCH] 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 <santiago@redhat.com>
---
 cmd/podman/healthcheck_run.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cmd/podman/healthcheck_run.go b/cmd/podman/healthcheck_run.go
index a91f871461..d92b2ac017 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`,