mirror of https://github.com/docker/cli.git
completion with container names on restart
Signed-off-by: tcoupin <thibault.coupin@gmail.com>
This commit is contained in:
parent
c02f389c78
commit
17e0438289
|
@ -833,7 +833,7 @@ __docker_container_subcommand() {
|
||||||
_arguments $(__docker_arguments) \
|
_arguments $(__docker_arguments) \
|
||||||
$opts_help \
|
$opts_help \
|
||||||
"($help -t --time)"{-t=,--time=}"[Number of seconds to try to stop for before killing the container]:seconds to before killing:(1 5 10 30 60)" \
|
"($help -t --time)"{-t=,--time=}"[Number of seconds to try to stop for before killing the container]:seconds to before killing:(1 5 10 30 60)" \
|
||||||
"($help -)*:containers:__docker_complete_containers_ids" && ret=0
|
"($help -)*:containers:__docker_complete_containers" && ret=0
|
||||||
;;
|
;;
|
||||||
(rm)
|
(rm)
|
||||||
local state
|
local state
|
||||||
|
|
Loading…
Reference in New Issue