Merge pull request #19634 from albers/completion-images--filter-dangling

bash completion for `docker images --filter dangling=false`
This commit is contained in:
Antonio Murdaca 2016-01-24 22:04:00 +01:00
commit 65530f8014

View file

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