mirror of https://github.com/docker/cli.git
Remove shorthand `-k` option from `docker version`
The `-k` shorthand was alreaady removed from other commands, so best to be consistent. Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
This commit is contained in:
parent
0f07b9ffc7
commit
f0a8598b8d
|
@ -105,7 +105,7 @@ func NewVersionCommand(dockerCli command.Cli) *cobra.Command {
|
||||||
|
|
||||||
flags := cmd.Flags()
|
flags := cmd.Flags()
|
||||||
flags.StringVarP(&opts.format, "format", "f", "", "Format the output using the given Go template")
|
flags.StringVarP(&opts.format, "format", "f", "", "Format the output using the given Go template")
|
||||||
flags.StringVarP(&opts.kubeConfig, "kubeconfig", "k", "", "Kubernetes config file")
|
flags.StringVar(&opts.kubeConfig, "kubeconfig", "", "Kubernetes config file")
|
||||||
flags.SetAnnotation("kubeconfig", "kubernetes", nil)
|
flags.SetAnnotation("kubeconfig", "kubernetes", nil)
|
||||||
|
|
||||||
return cmd
|
return cmd
|
||||||
|
|
|
@ -23,7 +23,7 @@ Show the Docker version information
|
||||||
Options:
|
Options:
|
||||||
-f, --format string Format the output using the given Go template
|
-f, --format string Format the output using the given Go template
|
||||||
--help Print usage
|
--help Print usage
|
||||||
-k, --kubeconfig string Kubernetes config file
|
--kubeconfig string Kubernetes config file
|
||||||
```
|
```
|
||||||
|
|
||||||
## Description
|
## Description
|
||||||
|
|
Loading…
Reference in New Issue