mirror of https://github.com/docker/cli.git
Disable file completion for `--dns*`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
285d0e32be
commit
14038a915d
|
@ -79,6 +79,9 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
|
|||
_ = cmd.RegisterFlagCompletionFunc("device-read-iops", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("device-write-bps", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("device-write-iops", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("dns", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("dns-option", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("dns-search", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("env", completion.EnvVarNames)
|
||||
_ = cmd.RegisterFlagCompletionFunc("env-file", completion.FileNames)
|
||||
_ = cmd.RegisterFlagCompletionFunc("network", completion.NetworkNames(dockerCli))
|
||||
|
|
Loading…
Reference in New Issue