mirror of https://github.com/docker/compose.git
add zsh completion for push
Signed-off-by: Ke Xu <leonhartx.k@gmail.com>
This commit is contained in:
parent
6e3d82eea6
commit
05bf9a054a
|
@ -292,6 +292,12 @@ __docker-compose_subcommand() {
|
||||||
'--ignore-pull-failures[Pull what it can and ignores images with pull failures.]' \
|
'--ignore-pull-failures[Pull what it can and ignores images with pull failures.]' \
|
||||||
'*:services:__docker-compose_services_from_image' && ret=0
|
'*:services:__docker-compose_services_from_image' && ret=0
|
||||||
;;
|
;;
|
||||||
|
(push)
|
||||||
|
_arguments \
|
||||||
|
$opts_help \
|
||||||
|
'--ignore-push-failures[Push what it can and ignores images with push failures.]' \
|
||||||
|
'*:services:__docker-compose_services' && ret=0
|
||||||
|
;;
|
||||||
(rm)
|
(rm)
|
||||||
_arguments \
|
_arguments \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
|
|
Loading…
Reference in New Issue