mirror of https://github.com/docker/cli.git
bash completion: fix uncorrect completion
fix uncorrect completion for command docker docker <tab> Signed-off-by: Ace-Tang <aceapril@126.com>
This commit is contained in:
parent
e902ae9f84
commit
7b4e2f3145
|
@ -5117,6 +5117,9 @@ _docker() {
|
|||
local counter=1
|
||||
while [ "$counter" -lt "$cword" ]; do
|
||||
case "${words[$counter]}" in
|
||||
docker)
|
||||
return 0
|
||||
;;
|
||||
# save host so that completion can use custom daemon
|
||||
--host|-H)
|
||||
(( counter++ ))
|
||||
|
|
Loading…
Reference in New Issue