Merge pull request #23238 from albers/completion-search--limit

bash completion for `docker search --limit`
Upstream-commit: b0a949e3c94fbc4e4cbf8ef1f4c242fc03ae127d
Component: engine
This commit is contained in:
Brian Goff
2016-06-03 12:13:27 -04:00
@@ -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
}