Don't show flags in api-versions help
Kubernetes-commit: 8ff6b24c5736d7b2ce31319ae950a806f2325327
This commit is contained in:
parent
eb1f9fda60
commit
e10402e591
|
@ -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())
|
||||
|
|
Loading…
Reference in New Issue