1
0
mirror of https://github.com/docker/cli.git synced 2026-01-19 21:41:31 +03:00

Fix bash completion for docker run -d

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 3bb3eae782
Component: cli
This commit is contained in:
Harald Albers
2015-02-16 19:23:29 +01:00
committed by Tibor Vass
parent 28ebc7e0f5
commit fd50a93b59

View File

@@ -663,7 +663,7 @@ _docker_run() {
_filedir
return
;;
--device|-d|--volume)
--device|--volume|-v)
case "$cur" in
*:*)
# TODO somehow do _filedir for stuff inside the image, if it's already specified (which is also somewhat difficult to determine)