mirror of https://github.com/docker/cli.git
Merge pull request #751 from ktrysmt/fix/zsh-completions
Fix error in zsh completion script for docker exec
This commit is contained in:
commit
ee3ffd6540
|
@ -745,7 +745,7 @@ __docker_container_subcommand() {
|
||||||
"($help)--privileged[Give extended Linux capabilities to the command]" \
|
"($help)--privileged[Give extended Linux capabilities to the command]" \
|
||||||
"($help -t --tty)"{-t,--tty}"[Allocate a pseudo-tty]" \
|
"($help -t --tty)"{-t,--tty}"[Allocate a pseudo-tty]" \
|
||||||
"($help -u --user)"{-u=,--user=}"[Username or UID]:user:_users" \
|
"($help -u --user)"{-u=,--user=}"[Username or UID]:user:_users" \
|
||||||
"($help -w --workdir)"{-w=,--workdir=}"[Working directory inside the container]:directory:_directories"
|
"($help -w --workdir)"{-w=,--workdir=}"[Working directory inside the container]:directory:_directories" \
|
||||||
"($help -):containers:__docker_complete_running_containers" \
|
"($help -):containers:__docker_complete_running_containers" \
|
||||||
"($help -)*::command:->anycommand" && ret=0
|
"($help -)*::command:->anycommand" && ret=0
|
||||||
case $state in
|
case $state in
|
||||||
|
|
Loading…
Reference in New Issue