mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
Remove shorthand for client flag in kubectl version
This commit is contained in:
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 -->
|
||||
[]()
|
||||
|
@ -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
Block a user