bash completion for `docker images -f dangling=false`

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-01-24 06:36:04 -08:00 committed by Tibor Vass
parent 6495ac0c5f
commit b3bb4d45dd
1 changed files with 2 additions and 4 deletions

View File

@ -1024,10 +1024,8 @@ _docker_history() {
_docker_images() { _docker_images() {
case "$prev" in case "$prev" in
--filter|-f) --filter|-f)
COMPREPLY=( $( compgen -W "dangling=true label=" -- "$cur" ) ) COMPREPLY=( $( compgen -S = -W "dangling label" -- "$cur" ) )
if [ "$COMPREPLY" = "label=" ]; then __docker_nospace
__docker_nospace
fi
return return
;; ;;
--format) --format)