Move zsh completion logic to new subcommand: push
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
Родитель
e3d224e520
Коммит
82dfd60819
|
@ -980,7 +980,10 @@ __docker_image_subcommand() {
|
||||||
"($help -):name:__docker_search" && ret=0
|
"($help -):name:__docker_search" && ret=0
|
||||||
;;
|
;;
|
||||||
(push)
|
(push)
|
||||||
__docker_subcommand && ret=0
|
_arguments $(__docker_arguments) \
|
||||||
|
$opts_help \
|
||||||
|
"($help)--disable-content-trust[Skip image signing]" \
|
||||||
|
"($help -): :__docker_complete_images" && ret=0
|
||||||
;;
|
;;
|
||||||
(rm)
|
(rm)
|
||||||
words[1]='rmi'
|
words[1]='rmi'
|
||||||
|
@ -2216,10 +2219,7 @@ __docker_subcommand() {
|
||||||
__docker_image_subcommand && ret=0
|
__docker_image_subcommand && ret=0
|
||||||
;;
|
;;
|
||||||
(push)
|
(push)
|
||||||
_arguments $(__docker_arguments) \
|
__docker_image_subcommand && ret=0
|
||||||
$opts_help \
|
|
||||||
"($help)--disable-content-trust[Skip image signing]" \
|
|
||||||
"($help -): :__docker_complete_images" && ret=0
|
|
||||||
;;
|
;;
|
||||||
(rmi)
|
(rmi)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
|
|
Загрузка…
Ссылка в новой задаче