1
0
Эх сурвалжийг харах

Add bash completion for `down --timeout`

Signed-off-by: Harald Albers <[email protected]>
Harald Albers 7 жил өмнө
parent
commit
bb42537bcf

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

@@ -194,11 +194,14 @@ _docker_compose_down() {
 			COMPREPLY=( $( compgen -W "all local" -- "$cur" ) )
 			return
 			;;
+		--timeout|-t)
+			return
+			;;
 	esac
 
 	case "$cur" in
 		-*)
-			COMPREPLY=( $( compgen -W "--help --rmi --volumes -v --remove-orphans" -- "$cur" ) )
+			COMPREPLY=( $( compgen -W "--help --rmi --timeout -t --volumes -v --remove-orphans" -- "$cur" ) )
 			;;
 	esac
 }