mirror of
https://github.com/docker/cli.git
synced 2026-01-13 18:22:35 +03:00
Merge pull request #29690 from albers/completion-plugin-install--alias
Add bash completion for `plugin install --alias` Upstream-commit: b81f47a288bcc28d1fe0f6fb4f79636074dbf67c Component: engine
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user