diff options
author | Daniel J Walsh <dwalsh@redhat.com> | 2020-10-15 15:00:59 -0400 |
---|---|---|
committer | Daniel J Walsh <dwalsh@redhat.com> | 2020-10-21 08:37:57 -0400 |
commit | 980b1e87d40eedc175cdc76da668572b91784448 (patch) | |
tree | b79db728f8e6b388021ecce2dc3e2337a92eba11 /cmd/podman/main.go | |
parent | 9d9c58ba64a59fc24d6807f495559ac2ec86b6e8 (diff) | |
download | podman-980b1e87d40eedc175cdc76da668572b91784448.tar.gz podman-980b1e87d40eedc175cdc76da668572b91784448.tar.bz2 podman-980b1e87d40eedc175cdc76da668572b91784448.zip |
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 <dwalsh@redhat.com>
Diffstat (limited to 'cmd/podman/main.go')
-rw-r--r-- | cmd/podman/main.go | 1 |
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 } } } |