Browse Source

Fix bash completion for `docker ps --filter is-task`

Signed-off-by: Harald Albers <github@albersweb.de>
Harald Albers 8 năm trước cách đây
mục cha
commit
7b6a38e1b1
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      contrib/completion/bash/docker

+ 1 - 1
contrib/completion/bash/docker

@@ -1121,7 +1121,7 @@ _docker_container_ls() {
 
 
 	case "$prev" in
 	case "$prev" in
 		--filter|-f)
 		--filter|-f)
-			COMPREPLY=( $( compgen -S = -W "ancestor before exited health id label name network since status volume" -- "$cur" ) )
+			COMPREPLY=( $( compgen -S = -W "ancestor before exited health id is-task label name network since status volume" -- "$cur" ) )
 			__docker_nospace
 			__docker_nospace
 			return
 			return
 			;;
 			;;