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:
commit
b81f47a288
1 changed files with 7 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue