Add bash completion for plugin install --alias
Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
parent
e6366743a1
commit
83158f8aff
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue