Browse Source

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

Fix bash completion for docker run -d
Jessie Frazelle 10 năm trước cách đây
mục cha
commit
4965304772
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      contrib/completion/bash/docker

+ 1 - 1
contrib/completion/bash/docker

@@ -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)