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:
@ -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++ ))
|
||||
|
||||
Reference in New Issue
Block a user