1
0
mirror of https://github.com/docker/cli.git synced 2026-01-18 08:21:31 +03:00

Add docker ps --filter=… image completion

I missed that on #15919, thanks @albers

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 1cf99bf127
Component: cli
This commit is contained in:
Vincent Demeester
2015-09-01 08:47:02 +02:00
committed by Tibor Vass
parent d3348772c2
commit 5c0a31aa05

View File

@@ -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