summaryrefslogtreecommitdiff
path: root/cmd/podman/main.go
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2020-10-21 12:59:42 -0400
committerGitHub <noreply@github.com>2020-10-21 12:59:42 -0400
commita1b942ff401a9315dae05d9a3210780823d12839 (patch)
tree8da82d1850e9e5d833a9e5faa4457afab634db78 /cmd/podman/main.go
parent9060af971911b6b4c21b2b24d011835954058d30 (diff)
parent980b1e87d40eedc175cdc76da668572b91784448 (diff)
downloadpodman-a1b942ff401a9315dae05d9a3210780823d12839.tar.gz
podman-a1b942ff401a9315dae05d9a3210780823d12839.tar.bz2
podman-a1b942ff401a9315dae05d9a3210780823d12839.zip
Merge pull request #8034 from rhatdan/options
Switch help messages from using [flags] to [options]
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r--cmd/podman/main.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmd/podman/main.go b/cmd/podman/main.go
index 007a8716c..9747769c7 100644
--- a/cmd/podman/main.go
+++ b/cmd/podman/main.go
@@ -66,6 +66,7 @@ func main() {
// - rootCmd uses cobra default template not ours
c.Command.SetHelpTemplate(helpTemplate)
c.Command.SetUsageTemplate(usageTemplate)
+ c.Command.DisableFlagsInUseLine = true
}
}
}