Browse Source

Add bash completion for `build --squash`

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

+ 1 - 0
contrib/completion/bash/docker

@@ -2006,6 +2006,7 @@ _docker_image_build() {
 		--quiet -q
 		--rm
 	"
+	__docker_is_experimental && boolean_options+="--squash"
 
 	local all_options="$options_with_args $boolean_options"