From da6b8cb5de1c9fb0e4eedfe309cefe0301e6edf7 Mon Sep 17 00:00:00 2001 From: Nicolas De Loof Date: Wed, 6 Dec 2017 10:32:15 +0100 Subject: [PATCH] Because the option takes an argument, a special treatment is required in the preceding case Signed-off-by: Nicolas De Loof --- contrib/completion/bash/docker | 3 +++ 1 file changed, 3 insertions(+) diff --git a/contrib/completion/bash/docker b/contrib/completion/bash/docker index 0e63c5ab4d..0c66951add 100644 --- a/contrib/completion/bash/docker +++ b/contrib/completion/bash/docker @@ -1435,6 +1435,9 @@ _docker_container_exec() { __docker_complete_user_group return ;; + --workdir|-w) + return + ;; esac case "$cur" in