mirror of https://github.com/docker/cli.git
Disable file completion for `--blkio-weight*`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
55d4192c3a
commit
75d80775ce
|
@ -60,6 +60,8 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
|
||||||
_ = cmd.RegisterFlagCompletionFunc("add-host", completion.NoComplete)
|
_ = cmd.RegisterFlagCompletionFunc("add-host", completion.NoComplete)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("annotation", completion.NoComplete)
|
_ = cmd.RegisterFlagCompletionFunc("annotation", completion.NoComplete)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("attach", completion.FromList("stderr", "stdin", "stdout"))
|
_ = cmd.RegisterFlagCompletionFunc("attach", completion.FromList("stderr", "stdin", "stdout"))
|
||||||
|
_ = cmd.RegisterFlagCompletionFunc("blkio-weight", completion.NoComplete)
|
||||||
|
_ = cmd.RegisterFlagCompletionFunc("blkio-weight-device", completion.NoComplete)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("cap-add", completeLinuxCapabilityNames)
|
_ = cmd.RegisterFlagCompletionFunc("cap-add", completeLinuxCapabilityNames)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("cap-drop", completeLinuxCapabilityNames)
|
_ = cmd.RegisterFlagCompletionFunc("cap-drop", completeLinuxCapabilityNames)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("env", completion.EnvVarNames)
|
_ = cmd.RegisterFlagCompletionFunc("env", completion.EnvVarNames)
|
||||||
|
|
Loading…
Reference in New Issue