1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

bash completion for docker search --limit

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-06-03 16:32:37 +02:00
parent 147c8b7495
commit 4b5ccd7342

View file

@ -1948,11 +1948,14 @@ _docker_search() {
__docker_nospace
return
;;
--limit)
return
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--filter --help --no-trunc" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--filter --help --limit --no-trunc" -- "$cur" ) )
;;
esac
}