mirror of
https://github.com/docker/docs.git
synced 2026-04-01 08:48:56 +07:00
Merge pull request #19634 from albers/completion-images--filter-dangling
bash completion for `docker images --filter dangling=false`
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user