mirror of https://github.com/docker/cli.git
Disable file completion for `--network-alias`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
b3703fa109
commit
39cd60b6eb
|
@ -114,6 +114,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
|
|||
_ = cmd.RegisterFlagCompletionFunc("mount", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("name", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("network", completion.NetworkNames(dockerCli))
|
||||
_ = cmd.RegisterFlagCompletionFunc("network-alias", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("platform", completion.Platforms)
|
||||
_ = cmd.RegisterFlagCompletionFunc("pull", completion.FromList(PullImageAlways, PullImageMissing, PullImageNever))
|
||||
_ = cmd.RegisterFlagCompletionFunc("restart", completeRestartPolicies)
|
||||
|
|
Loading…
Reference in New Issue