Add bash completion for plugin install --alias

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2016-12-25 05:32:50 -08:00
parent e6366743a1
commit 83158f8aff

View file

@ -3266,9 +3266,15 @@ _docker_plugin_inspect() {
}
_docker_plugin_install() {
case "$prev" in
--alias)
return
;;
esac
case "$cur" in
-*)
COMPREPLY=( $( compgen -W "--disable --grant-all-permissions--help" -- "$cur" ) )
COMPREPLY=( $( compgen -W "--alias --disable --grant-all-permissions --help" -- "$cur" ) )
;;
esac
}