Fix bash completion for docker run -d

Signed-off-by: Harald Albers <github@albersweb.de>
master
Harald Albers 2015-02-16 19:23:29 +01:00 committed by Tibor Vass
parent f91ddd939f
commit 3bb3eae782
1 changed files with 1 additions and 1 deletions

View File

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