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