Update shell completion on docker ps for ancestor

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 8387eacede
Component: cli
This commit is contained in:
Vincent Demeester
2017-06-02 00:07:07 +00:00
committed by Tibor Vass
parent b36315741b
commit 14dfc30977
@@ -965,7 +965,7 @@ _docker_ps() {
__docker_containers_all
;;
--filter|-f)
COMPREPLY=( $( compgen -S = -W "exited id label name status" -- "$cur" ) )
COMPREPLY=( $( compgen -S = -W "ancestor exited id label name status" -- "$cur" ) )
compopt -o nospace
return
;;