Fix bash completion for docker run -d

Signed-off-by: Harald Albers <github@albersweb.de>
Upstream-commit: 01bd90c4ad5322d443d6952c897dd6ba8d17a3ba
Component: engine
This commit is contained in:
Harald Albers
2015-02-16 19:23:29 +01:00
parent e4b06c20d3
commit 11e97d1f42

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)