Merge pull request #2032 from villlem/master

Flag to skip all pull errors when pulling images
This commit is contained in:
mnowster 2015-09-21 13:41:08 +01:00
commit b9252aa48e
8 changed files with 31 additions and 5 deletions

View file

@ -212,7 +212,7 @@ _docker_compose_ps() {
_docker_compose_pull() {
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--help" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--help --ignore-pull-failures" -- "$cur" ) )
;;
*)
__docker_compose_services_from_image

View file

@ -238,6 +238,7 @@ __docker-compose_subcommand() {
(pull)
_arguments \
$opts_help \
'--ignore-pull-failures[Pull what it can and ignores images with pull failures.]' \
'*:services:__docker-compose_services_from_image' && ret=0
;;
(rm)