mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Move zsh completion logic to new subcommand: pull
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
c333821334
commit
102742a3cd
1 changed files with 6 additions and 6 deletions
|
@ -973,7 +973,11 @@ __docker_image_subcommand() {
|
|||
# @TODO
|
||||
;;
|
||||
(pull)
|
||||
__docker_subcommand && ret=0
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
"($help -a --all-tags)"{-a,--all-tags}"[Download all tagged images]" \
|
||||
"($help)--disable-content-trust[Skip image verification]" \
|
||||
"($help -):name:__docker_search" && ret=0
|
||||
;;
|
||||
(push)
|
||||
__docker_subcommand && ret=0
|
||||
|
@ -2203,11 +2207,7 @@ __docker_subcommand() {
|
|||
__docker_container_subcommand && ret=0
|
||||
;;
|
||||
(pull)
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
"($help -a --all-tags)"{-a,--all-tags}"[Download all tagged images]" \
|
||||
"($help)--disable-content-trust[Skip image verification]" \
|
||||
"($help -):name:__docker_search" && ret=0
|
||||
__docker_image_subcommand && ret=0
|
||||
;;
|
||||
(push)
|
||||
_arguments $(__docker_arguments) \
|
||||
|
|
Loading…
Add table
Reference in a new issue