Browse Source

Add bash completion for `run|create --init-path`

Signed-off-by: Harald Albers <github@albersweb.de>
(cherry picked from commit 182048f18592259633d21ac55bd5b73903de50b9)
Signed-off-by: Victor Vieux <vieux@docker.com>
Harald Albers 8 years ago
parent
commit
880c12df7d
1 changed files with 2 additions and 1 deletions
  1. 2 1
      contrib/completion/bash/docker

+ 2 - 1
contrib/completion/bash/docker

@@ -1327,6 +1327,7 @@ _docker_container_run() {
 		--expose
 		--group-add
 		--hostname -h
+		--init-path
 		--ip
 		--ip6
 		--ipc
@@ -1439,7 +1440,7 @@ _docker_container_run() {
 			__docker_complete_capabilities
 			return
 			;;
-		--cidfile|--env-file|--label-file)
+		--cidfile|--env-file|--init-path|--label-file)
 			_filedir
 			return
 			;;