Add bash completion for plugin install --alias

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers
2017-06-02 00:10:46 +00:00
committed by Tibor Vass
parent 73a5149c50
commit b78f47ca4a
+7 -1
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
}