From 980b1e87d40eedc175cdc76da668572b91784448 Mon Sep 17 00:00:00 2001 From: Daniel J Walsh Date: Thu, 15 Oct 2020 15:00:59 -0400 Subject: Switch use of Flags to Options Want to have man pages match commands, since we have lots of printed man pages with using Options, we will change the command line to use Options in --help. Signed-off-by: Daniel J Walsh --- cmd/podman/main.go | 1 + 1 file changed, 1 insertion(+) (limited to 'cmd/podman/main.go') 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 } } } -- cgit v1.2.3-54-g00ecf