Don't show flags in api-versions help

This commit is contained in:
Maciej Szulik 2020-02-12 18:31:05 +01:00
parent 50c8f73a4b
commit 8ff6b24c57
No known key found for this signature in database
GPG Key ID: F15E55D276FA84C4

View File

@ -58,6 +58,7 @@ func NewCmdAPIVersions(f cmdutil.Factory, ioStreams genericclioptions.IOStreams)
Short: "Print the supported API versions on the server, in the form of \"group/version\"",
Long: "Print the supported API versions on the server, in the form of \"group/version\"",
Example: apiversionsExample,
DisableFlagsInUseLine: true,
Run: func(cmd *cobra.Command, args []string) {
cmdutil.CheckErr(o.Complete(f, cmd, args))
cmdutil.CheckErr(o.RunAPIVersions())