1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00

Merge pull request #29690 from albers/completion-plugin-install--alias

Add bash completion for `plugin install --alias`
This commit is contained in:
Tõnis Tiigi 2016-12-26 18:42:54 -08:00 committed by GitHub
commit b81f47a288

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
}