mirror of https://github.com/docker/cli.git
Add completion for `--uts`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
3a2503fa43
commit
2915749279
|
@ -134,6 +134,7 @@ func addCompletions(cmd *cobra.Command, dockerCLI completion.APIClientProvider)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("storage-opt", completeStorageOpt)
|
_ = cmd.RegisterFlagCompletionFunc("storage-opt", completeStorageOpt)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("ulimit", completeUlimit)
|
_ = cmd.RegisterFlagCompletionFunc("ulimit", completeUlimit)
|
||||||
_ = cmd.RegisterFlagCompletionFunc("userns", completion.FromList("host"))
|
_ = cmd.RegisterFlagCompletionFunc("userns", completion.FromList("host"))
|
||||||
|
_ = cmd.RegisterFlagCompletionFunc("uts", completion.FromList("host"))
|
||||||
_ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCLI, true))
|
_ = cmd.RegisterFlagCompletionFunc("volumes-from", completion.ContainerNames(dockerCLI, true))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue