Shell completion for --push-images

Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
Aanand Prasad 2016-07-27 16:00:53 +01:00 committed by Joffrey F
parent 94f7016fb7
commit b801f275d7
2 changed files with 2 additions and 1 deletions

View File

@ -117,7 +117,7 @@ _docker_compose_bundle() {
;;
esac
COMPREPLY=( $( compgen -W "--fetch-digests --help --output -o" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--push-images --help --output -o" -- "$cur" ) )
}

View File

@ -207,6 +207,7 @@ __docker-compose_subcommand() {
(bundle)
_arguments \
$opts_help \
'--push-images[Automatically push images for any services which have a `build` option specified.]' \
'(--output -o)'{--output,-o}'[Path to write the bundle file to. Defaults to "<project name>.dab".]:file:_files' && ret=0
;;
(config)