mirror of https://github.com/docker/cli.git
Move zsh completion logic to new subcommand: kill
Signed-off-by: Steve Durrheimer <s.durrheimer@gmail.com>
This commit is contained in:
parent
61507603fb
commit
ca352f2941
|
@ -683,7 +683,10 @@ __docker_container_subcommand() {
|
||||||
"($help -)*:containers:__docker_complete_containers" && ret=0
|
"($help -)*:containers:__docker_complete_containers" && ret=0
|
||||||
;;
|
;;
|
||||||
(kill)
|
(kill)
|
||||||
__docker_subcommand && ret=0
|
_arguments $(__docker_arguments) \
|
||||||
|
$opts_help \
|
||||||
|
"($help -s --signal)"{-s=,--signal=}"[Signal to send]:signal:_signals" \
|
||||||
|
"($help -)*:containers:__docker_complete_running_containers" && ret=0
|
||||||
;;
|
;;
|
||||||
(logs)
|
(logs)
|
||||||
__docker_subcommand && ret=0
|
__docker_subcommand && ret=0
|
||||||
|
@ -1999,10 +2002,7 @@ __docker_subcommand() {
|
||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
(kill)
|
(kill)
|
||||||
_arguments $(__docker_arguments) \
|
__docker_container_subcommand && ret=0
|
||||||
$opts_help \
|
|
||||||
"($help -s --signal)"{-s=,--signal=}"[Signal to send]:signal:_signals" \
|
|
||||||
"($help -)*:containers:__docker_complete_running_containers" && ret=0
|
|
||||||
;;
|
;;
|
||||||
(load)
|
(load)
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
|
|
Loading…
Reference in New Issue