Update shell completion on docker ps for ancestor

Signed-off-by: Vincent Demeester <vincent@sbr.pm>
Upstream-commit: 672bae2dc0af6bce3ffc7a1144a22fb740a8e013
Component: engine
This commit is contained in:
Vincent Demeester
2015-08-28 20:56:52 +02:00
parent aaf90d6259
commit 33e7393fb4

View File

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