Skip to content

Commit

Permalink
Add bash completion for plugin install --alias
Browse files Browse the repository at this point in the history
Signed-off-by: Harald Albers <github@albersweb.de>
  • Loading branch information
albers committed Dec 25, 2016
1 parent e636674 commit 83158f8
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion contrib/completion/bash/docker
Expand Up @@ -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
}
Expand Down

0 comments on commit 83158f8

Please sign in to comment.