Disable file completion for `--expose`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2024-10-24 18:23:09 +00:00
parent 9906847f54
commit 6aba94e6dd
1 changed files with 1 additions and 0 deletions

View File

@ -84,6 +84,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
_ = cmd.RegisterFlagCompletionFunc("dns-search", completion.NoComplete)
_ = cmd.RegisterFlagCompletionFunc("domainname", completion.NoComplete)
_ = cmd.RegisterFlagCompletionFunc("entrypoint", completion.NoComplete)
_ = cmd.RegisterFlagCompletionFunc("expose", completion.NoComplete)
_ = cmd.RegisterFlagCompletionFunc("env", completion.EnvVarNames)
_ = cmd.RegisterFlagCompletionFunc("env-file", completion.FileNames)
_ = cmd.RegisterFlagCompletionFunc("network", completion.NetworkNames(dockerCli))