From 09701feb71a78a6195a762e6798b8aff9f89e94c Mon Sep 17 00:00:00 2001 From: Harald Albers Date: Thu, 24 Oct 2024 13:39:12 +0000 Subject: [PATCH] Disable file completion for `--stop-timeout` Signed-off-by: Harald Albers --- cli/command/container/completion.go | 1 + 1 file changed, 1 insertion(+) diff --git a/cli/command/container/completion.go b/cli/command/container/completion.go index 0daf6c4193..eb48b52e7b 100644 --- a/cli/command/container/completion.go +++ b/cli/command/container/completion.go @@ -126,6 +126,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) { _ = cmd.RegisterFlagCompletionFunc("security-opt", completion.NoComplete) // TODO refine _ = cmd.RegisterFlagCompletionFunc("shm-size", completion.NoComplete) _ = cmd.RegisterFlagCompletionFunc("stop-signal", completeSignals) + _ = cmd.RegisterFlagCompletionFunc("stop-timeout", completion.NoComplete) _ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCli, true)) }