mirror of https://github.com/docker/cli.git
Merge ec601dd5bc
into 81401f37f2
This commit is contained in:
commit
d048ec81cb
|
@ -849,7 +849,7 @@ __docker_container_subcommand() {
|
|||
"($help -)*:containers:->values" && ret=0
|
||||
case $state in
|
||||
(values)
|
||||
if [[ ${words[(r)-f]} == -f || ${words[(r)--force]} == --force ]]; then
|
||||
if [[ -n ${opt_args[(i)-f]} || -n ${opt_args[(i)--force]} ]]; then
|
||||
__docker_complete_containers && ret=0
|
||||
else
|
||||
__docker_complete_stopped_containers && ret=0
|
||||
|
|
Loading…
Reference in New Issue