mirror of https://github.com/k3s-io/k3s
Remove shorthand for client flag in kubectl version
parent
e2659fc645
commit
6290aee8b8
|
@ -47,7 +47,7 @@ kubectl version
|
|||
### Options
|
||||
|
||||
```
|
||||
-c, --client[=false]: Client version only (no server required).
|
||||
--client[=false]: Client version only (no server required).
|
||||
```
|
||||
|
||||
### Options inherited from parent commands
|
||||
|
@ -82,7 +82,7 @@ kubectl version
|
|||
|
||||
* [kubectl](kubectl.md) - kubectl controls the Kubernetes cluster manager
|
||||
|
||||
###### Auto generated by spf13/cobra at 2015-09-22 12:53:42.294832043 +0000 UTC
|
||||
###### Auto generated by spf13/cobra on 12-Oct-2015
|
||||
|
||||
<!-- BEGIN MUNGE: GENERATED_ANALYTICS -->
|
||||
[![Analytics](https://kubernetes-site.appspot.com/UA-36037335-10/GitHub/docs/user-guide/kubectl/kubectl_version.md?pixel)]()
|
||||
|
|
|
@ -35,6 +35,7 @@ func NewCmdVersion(f *cmdutil.Factory, out io.Writer) *cobra.Command {
|
|||
},
|
||||
}
|
||||
cmd.Flags().BoolP("client", "c", false, "Client version only (no server required).")
|
||||
cmd.Flags().MarkShorthandDeprecated("client", "please use --client instead.")
|
||||
return cmd
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue