diff options
author | OpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com> | 2020-06-25 08:33:39 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 08:33:39 -0400 |
commit | f8036c548c0a6d34cc063949cf5f9add22409d9d (patch) | |
tree | 48d84e34aee191cf803f14ef48df81b08eff271e /cmd/podman/healthcheck/run.go | |
parent | cd36499d10a21ef1429d7ce84d845d8627ebcf6e (diff) | |
parent | c6090c290e1eb8b60148a026773c5f8cce6eb435 (diff) | |
download | podman-f8036c548c0a6d34cc063949cf5f9add22409d9d.tar.gz podman-f8036c548c0a6d34cc063949cf5f9add22409d9d.tar.bz2 podman-f8036c548c0a6d34cc063949cf5f9add22409d9d.zip |
Merge pull request #6754 from edsantiago/man_page_xref
Docs: consistency between man / --help
Diffstat (limited to 'cmd/podman/healthcheck/run.go')
-rw-r--r-- | cmd/podman/healthcheck/run.go | 13 |
1 files changed, 7 insertions, 6 deletions
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, } ) |