mirror of https://github.com/docker/cli.git
Disable file completion for `--expose`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
9906847f54
commit
6aba94e6dd
|
@ -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))
|
||||
|
|
Loading…
Reference in New Issue