mirror of https://github.com/docker/cli.git
Disable file completion for `--hostname`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
3ab5af735a
commit
e08a00701b
|
@ -95,6 +95,7 @@ func addCompletions(cmd *cobra.Command, dockerCli command.Cli) {
|
|||
_ = cmd.RegisterFlagCompletionFunc("health-start-interval", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("health-start-period", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("health-timeout", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("hostname", completion.NoComplete)
|
||||
_ = cmd.RegisterFlagCompletionFunc("network", completion.NetworkNames(dockerCli))
|
||||
_ = cmd.RegisterFlagCompletionFunc("platform", completion.Platforms)
|
||||
_ = cmd.RegisterFlagCompletionFunc("pull", completion.FromList(PullImageAlways, PullImageMissing, PullImageNever))
|
||||
|
|
Loading…
Reference in New Issue