瀏覽代碼

bash completion for `docker run` healthcheck options

Signed-off-by: Harald Albers <github@albersweb.de>
Harald Albers 9 年之前
父節點
當前提交
f738e6a732
共有 1 個文件被更改,包括 5 次插入0 次删除
  1. 5 0
      contrib/completion/bash/docker

+ 5 - 0
contrib/completion/bash/docker

@@ -1726,9 +1726,14 @@ _docker_run() {
 	if [ "$command" = "run" ] ; then
 		options_with_args="$options_with_args
 			--detach-keys
+			--health-cmd
+			--health-interval
+			--health-retries
+			--health-timeout
 		"
 		boolean_options="$boolean_options
 			--detach -d
+			--no-healthcheck
 			--rm
 			--sig-proxy=false
 		"