mirror of https://github.com/docker/cli.git
Disable file completion for `--stop-timeout`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
396d9e02cf
commit
09701feb71
|
@ -126,6 +126,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
|
||||||
_ = cmd.RegisterFlagCompletionFunc("security-opt", completion.NoComplete) // TODO refine
|
_ = cmd.RegisterFlagCompletionFunc("security-opt", completion.NoComplete) // TODO refine
|
||||||
_ = cmd.RegisterFlagCompletionFunc("shm-size", completion.NoComplete)
|
_ = cmd.RegisterFlagCompletionFunc("shm-size", completion.NoComplete)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("stop-signal", completeSignals)
|
_ = cmd.RegisterFlagCompletionFunc("stop-signal", completeSignals)
|
||||||
|
_ = cmd.RegisterFlagCompletionFunc("stop-timeout", completion.NoComplete)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCli, true))
|
_ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCli, true))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue