mirror of https://github.com/docker/cli.git
Add bash completion for `docker build --cache-from`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
5890dd64eb
commit
7c22a4d86c
|
@ -1901,6 +1901,7 @@ _docker_image() {
|
||||||
_docker_image_build() {
|
_docker_image_build() {
|
||||||
local options_with_args="
|
local options_with_args="
|
||||||
--build-arg
|
--build-arg
|
||||||
|
--cache-from
|
||||||
--cgroup-parent
|
--cgroup-parent
|
||||||
--cpuset-cpus
|
--cpuset-cpus
|
||||||
--cpuset-mems
|
--cpuset-mems
|
||||||
|
@ -1936,6 +1937,10 @@ _docker_image_build() {
|
||||||
__docker_nospace
|
__docker_nospace
|
||||||
return
|
return
|
||||||
;;
|
;;
|
||||||
|
--cache-from)
|
||||||
|
__docker_complete_image_repos_and_tags
|
||||||
|
return
|
||||||
|
;;
|
||||||
--file|-f)
|
--file|-f)
|
||||||
_filedir
|
_filedir
|
||||||
return
|
return
|
||||||
|
|
Loading…
Reference in New Issue