Signed-off-by: Harald Albers <github@albersweb.de> (cherry picked from commit 83158f8aff3ec01fa027556c48e364c5311a6839) Signed-off-by: Victor Vieux <vieux@docker.com>
@@ -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