Merge pull request #15958 from vdemeester/14570-contrib-completion-image
Add docker ps --filter=… ancestor image bash completion Upstream-commit: dd4900205563e2f0d3fa01c43ceb27654aeb9ec8 Component: engine
This commit is contained in:
@ -975,6 +975,11 @@ _docker_ps() {
|
||||
esac
|
||||
|
||||
case "${words[$cword-2]}$prev=" in
|
||||
*ancestor=*)
|
||||
cur="${cur#=}"
|
||||
__docker_images
|
||||
return
|
||||
;;
|
||||
*id=*)
|
||||
cur="${cur#=}"
|
||||
__docker_container_ids
|
||||
|
||||
Reference in New Issue
Block a user