mirror of https://github.com/docker/compose.git
Shell completion for --push-images
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
This commit is contained in:
parent
e9d62e8404
commit
6633f1962c
|
@ -117,7 +117,7 @@ _docker_compose_bundle() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
COMPREPLY=( $( compgen -W "--fetch-digests --help --output -o" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--push-images --help --output -o" -- "$cur" ) )
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -207,6 +207,7 @@ __docker-compose_subcommand() {
|
||||||
(bundle)
|
(bundle)
|
||||||
_arguments \
|
_arguments \
|
||||||
$opts_help \
|
$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
|
'(--output -o)'{--output,-o}'[Path to write the bundle file to. Defaults to "<project name>.dab".]:file:_files' && ret=0
|
||||||
;;
|
;;
|
||||||
(config)
|
(config)
|
||||||
|
|
Loading…
Reference in New Issue