1
0
mirror of https://github.com/docker/cli.git synced 2026-01-16 20:22:36 +03:00

Merge pull request #10834 from albers/completion-fix-run--d

Fix bash completion for docker run -d
Upstream-commit: 4965304772e6a5493a86fbfa1574e88dbaa57879
Component: engine
This commit is contained in:
Jessie Frazelle
2015-02-16 12:01:39 -08:00

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)