mirror of https://github.com/docker/cli.git
Disable file completion for `--link-local-ip`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
0e4b312b90
commit
93af729f53
|
@ -103,6 +103,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
|
||||||
_ = cmd.RegisterFlagCompletionFunc("kernel-memory", completion.NoComplete)
|
_ = cmd.RegisterFlagCompletionFunc("kernel-memory", completion.NoComplete)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("label", completion.NoComplete)
|
_ = cmd.RegisterFlagCompletionFunc("label", completion.NoComplete)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("link", completeLink(dockerCli))
|
_ = cmd.RegisterFlagCompletionFunc("link", completeLink(dockerCli))
|
||||||
|
_ = cmd.RegisterFlagCompletionFunc("link-local-ip", completion.NoComplete)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("network", completion.NetworkNames(dockerCli))
|
_ = cmd.RegisterFlagCompletionFunc("network", completion.NetworkNames(dockerCli))
|
||||||
_ = cmd.RegisterFlagCompletionFunc("platform", completion.Platforms)
|
_ = cmd.RegisterFlagCompletionFunc("platform", completion.Platforms)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("pull", completion.FromList(PullImageAlways, PullImageMissing, PullImageNever))
|
_ = cmd.RegisterFlagCompletionFunc("pull", completion.FromList(PullImageAlways, PullImageMissing, PullImageNever))
|
||||||
|
|
Loading…
Reference in New Issue