mirror of https://github.com/docker/cli.git
Disable file completion for `--cpu*`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
00e3b7cdcc
commit
4450f48f07
|
@ -66,6 +66,14 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
|
|||
_ = cmd.RegisterFlagCompletionFunc("cap-drop", completeLinuxCapabilityNames)
|
||||
_ = cmd.RegisterFlagCompletionFunc("cgroup-parent", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("cgroupns", completion.FromList("host", "private"))
|
||||
_ = cmd.RegisterFlagCompletionFunc("cpu-period", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("cpu-quota", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("cpu-rt-period", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("cpu-rt-runtime", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("cpu-shares", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("cpus", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("cpuset-cpus", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("cpuset-mems", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("env", completion.EnvVarNames)
|
||||
_ = cmd.RegisterFlagCompletionFunc("env-file", completion.FileNames)
|
||||
_ = cmd.RegisterFlagCompletionFunc("network", completion.NetworkNames(dockerCli))
|
||||
|
|
Loading…
Reference in New Issue