Browse Source

bash completion for `docker-compose up --build`

Signed-off-by: Harald Albers <[email protected]>
Harald Albers 9 years ago
parent
commit
5416e4c99b
1 changed files with 1 additions and 1 deletions
  1. 1 1
      contrib/completion/bash/docker-compose

+ 1 - 1
contrib/completion/bash/docker-compose

@@ -407,7 +407,7 @@ _docker_compose_up() {
 
 	case "$cur" in
 		-*)
-			COMPREPLY=( $( compgen -W "--abort-on-container-exit -d --force-recreate --help --no-build --no-color --no-deps --no-recreate --timeout -t --remove-orphans" -- "$cur" ) )
+			COMPREPLY=( $( compgen -W "--abort-on-container-exit --build -d --force-recreate --help --no-build --no-color --no-deps --no-recreate --timeout -t --remove-orphans" -- "$cur" ) )
 			;;
 		*)
 			__docker_compose_services_all