Add zsh completion for 'docker plugin install --alias'
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
Upstream-commit: 3cb11c99b3
Component: cli
This commit is contained in:
committed by
Tibor Vass
parent
cbeff7a5e3
commit
9481afb436
@ -1521,11 +1521,17 @@ __docker_plugin_subcommand() {
|
||||
opts_help=("(: -)--help[Print usage]")
|
||||
|
||||
case "$words[1]" in
|
||||
(disable|enable|inspect|install|ls|push|rm)
|
||||
(disable|enable|inspect|ls|push|rm)
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
"($help -)1:plugin:__docker_complete_plugins" && ret=0
|
||||
;;
|
||||
(install)
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
"($help)--alias=[Local name for plugin]:alias: " \
|
||||
"($help -)1:plugin:__docker_complete_plugins" && ret=0
|
||||
;;
|
||||
(set)
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
|
||||
Reference in New Issue
Block a user