Skip to content

Commit

Permalink
Shell completion for --push-images
Browse files Browse the repository at this point in the history
Signed-off-by: Aanand Prasad <aanand.prasad@gmail.com>
  • Loading branch information
aanand committed Jul 27, 2016
1 parent e9d62e8 commit 6633f19
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion contrib/completion/bash/docker-compose
Expand Up @@ -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" ) )
}


Expand Down
1 change: 1 addition & 0 deletions contrib/completion/zsh/_docker-compose
Expand Up @@ -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)
Expand Down

0 comments on commit 6633f19

Please sign in to comment.