mirror of https://github.com/docker/cli.git
Cleanup after moving all zsh completion logics for the new image command
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
e3711a11f2
commit
cd0ef2a337
|
@ -1984,7 +1984,7 @@ __docker_subcommand() {
|
||||||
(attach|commit|cp|create|diff|exec|export|kill|logs|pause|unpause|port|rename|restart|rm|run|start|stats|stop|top|update|wait)
|
(attach|commit|cp|create|diff|exec|export|kill|logs|pause|unpause|port|rename|restart|rm|run|start|stats|stop|top|update|wait)
|
||||||
__docker_container_subcommand && ret=0
|
__docker_container_subcommand && ret=0
|
||||||
;;
|
;;
|
||||||
(build)
|
(build|history|import|load|pull|push|save|tag)
|
||||||
__docker_image_subcommand && ret=0
|
__docker_image_subcommand && ret=0
|
||||||
;;
|
;;
|
||||||
(container)
|
(container)
|
||||||
|
@ -2101,9 +2101,6 @@ __docker_subcommand() {
|
||||||
"($help)--until=[Events created until this timestamp]:timestamp: " \
|
"($help)--until=[Events created until this timestamp]:timestamp: " \
|
||||||
"($help)--format=[Format the output using the given go template]:template: " && ret=0
|
"($help)--format=[Format the output using the given go template]:template: " && ret=0
|
||||||
;;
|
;;
|
||||||
(history)
|
|
||||||
__docker_image_subcommand && ret=0
|
|
||||||
;;
|
|
||||||
(image)
|
(image)
|
||||||
local curcontext="$curcontext" state
|
local curcontext="$curcontext" state
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
|
@ -2125,9 +2122,6 @@ __docker_subcommand() {
|
||||||
words[1]='ls'
|
words[1]='ls'
|
||||||
__docker_image_subcommand && ret=0
|
__docker_image_subcommand && ret=0
|
||||||
;;
|
;;
|
||||||
(import)
|
|
||||||
__docker_image_subcommand && ret=0
|
|
||||||
;;
|
|
||||||
(info|version)
|
(info|version)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
|
@ -2154,9 +2148,6 @@ __docker_subcommand() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
(load)
|
|
||||||
__docker_image_subcommand && ret=0
|
|
||||||
;;
|
|
||||||
(login)
|
(login)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
|
@ -2224,19 +2215,10 @@ __docker_subcommand() {
|
||||||
words[1]='ls'
|
words[1]='ls'
|
||||||
__docker_container_subcommand && ret=0
|
__docker_container_subcommand && ret=0
|
||||||
;;
|
;;
|
||||||
(pull)
|
|
||||||
__docker_image_subcommand && ret=0
|
|
||||||
;;
|
|
||||||
(push)
|
|
||||||
__docker_image_subcommand && ret=0
|
|
||||||
;;
|
|
||||||
(rmi)
|
(rmi)
|
||||||
words[1]='rm'
|
words[1]='rm'
|
||||||
__docker_image_subcommand && ret=0
|
__docker_image_subcommand && ret=0
|
||||||
;;
|
;;
|
||||||
(save)
|
|
||||||
__docker_image_subcommand && ret=0
|
|
||||||
;;
|
|
||||||
(search)
|
(search)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
|
@ -2285,9 +2267,6 @@ __docker_subcommand() {
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
(tag)
|
|
||||||
__docker_image_subcommand && ret=0
|
|
||||||
;;
|
|
||||||
(volume)
|
(volume)
|
||||||
local curcontext="$curcontext" state
|
local curcontext="$curcontext" state
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
|
|
Loading…
Reference in New Issue