mirror of https://github.com/docker/cli.git
Add bash completion for `plugin install --alias`
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
73a5149c50
commit
b78f47ca4a
|
@ -3262,9 +3262,15 @@ _docker_plugin_inspect() {
|
||||||
}
|
}
|
||||||
|
|
||||||
_docker_plugin_install() {
|
_docker_plugin_install() {
|
||||||
|
case "$prev" in
|
||||||
|
--alias)
|
||||||
|
return
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
|
||||||
case "$cur" in
|
case "$cur" in
|
||||||
-*)
|
-*)
|
||||||
COMPREPLY=( $( compgen -W "--disable --grant-all-permissions--help" -- "$cur" ) )
|
COMPREPLY=( $( compgen -W "--alias --disable --grant-all-permissions --help" -- "$cur" ) )
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue