Add bash completion for `plugin install --alias`

Signed-off-by: Harald Albers <github@albersweb.de>
master
Harald Albers 2016-12-25 05:32:50 -08:00 committed by Tibor Vass
parent 73a5149c50
commit b78f47ca4a
1 changed files with 7 additions and 1 deletions

View File

@ -3262,9 +3262,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
}