mirror of https://github.com/docker/cli.git
Move zsh completion logic to new subcommand: save
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
f812608ff4
commit
a3e4ac1d2f
|
@ -993,7 +993,10 @@ __docker_image_subcommand() {
|
|||
"($help -)*: :__docker_complete_images" && ret=0
|
||||
;;
|
||||
(save)
|
||||
__docker_subcommand && ret=0
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
"($help -o --output)"{-o=,--output=}"[Write to file]:file:_files" \
|
||||
"($help -)*: :__docker_complete_images" && ret=0
|
||||
;;
|
||||
(tag)
|
||||
__docker_subcommand && ret=0
|
||||
|
@ -2229,10 +2232,7 @@ __docker_subcommand() {
|
|||
__docker_image_subcommand && ret=0
|
||||
;;
|
||||
(save)
|
||||
_arguments $(__docker_arguments) \
|
||||
$opts_help \
|
||||
"($help -o --output)"{-o=,--output=}"[Write to file]:file:_files" \
|
||||
"($help -)*: :__docker_complete_images" && ret=0
|
||||
__docker_image_subcommand && ret=0
|
||||
;;
|
||||
(search)
|
||||
_arguments $(__docker_arguments) \
|
||||
|
|
Loading…
Reference in New Issue