mirror of https://github.com/docker/cli.git
Disable file completion for `--security-opt`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
a40ed99d5a
commit
ff9c6846b1
|
@ -123,6 +123,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
|
||||||
_ = cmd.RegisterFlagCompletionFunc("pull", completion.FromList(PullImageAlways, PullImageMissing, PullImageNever))
|
_ = cmd.RegisterFlagCompletionFunc("pull", completion.FromList(PullImageAlways, PullImageMissing, PullImageNever))
|
||||||
_ = cmd.RegisterFlagCompletionFunc("restart", completeRestartPolicies)
|
_ = cmd.RegisterFlagCompletionFunc("restart", completeRestartPolicies)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("runtime", completion.NoComplete)
|
_ = cmd.RegisterFlagCompletionFunc("runtime", completion.NoComplete)
|
||||||
|
_ = cmd.RegisterFlagCompletionFunc("security-opt", completion.NoComplete) // TODO refine
|
||||||
_ = cmd.RegisterFlagCompletionFunc("stop-signal", completeSignals)
|
_ = cmd.RegisterFlagCompletionFunc("stop-signal", completeSignals)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCli, true))
|
_ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCli, true))
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue