Fix bash completion for docker run -d

Signed-off-by: Harald Albers <github@albersweb.de>
This commit is contained in:
Harald Albers 2015-02-16 19:23:29 +01:00
parent 9ee8d41ab2
commit 01bd90c4ad
1 changed files with 1 additions and 1 deletions

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)