mirror of https://github.com/docker/cli.git
Disable file completion for `--workdir`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
8afd8dd21a
commit
61e803c2aa
|
@ -135,6 +135,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
|
|||
_ = cmd.RegisterFlagCompletionFunc("uts", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("volume-driver", completion.FromList("local"))
|
||||
_ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCli, true))
|
||||
_ = cmd.RegisterFlagCompletionFunc("workdir", completion.NoComplete)
|
||||
}
|
||||
|
||||
// completeIpc implements shell completion for the `--ipc` option of `run` and `create`.
|
||||
|
|
Loading…
Reference in New Issue