1
0
mirror of https://github.com/docker/cli.git synced 2026-01-13 18:22:35 +03:00

completion with container names on restart

Signed-off-by: tcoupin <thibault.coupin@gmail.com>
This commit is contained in:
Thibault Coupin
2019-06-04 21:33:40 +02:00
committed by tcoupin
parent c02f389c78
commit 17e0438289

View File

@@ -833,7 +833,7 @@ __docker_container_subcommand() {
_arguments $(__docker_arguments) \
$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 -)*:containers:__docker_complete_containers_ids" && ret=0
"($help -)*:containers:__docker_complete_containers" && ret=0
;;
(rm)
local state