Add zsh completion for 'docker build --squash'
(cherry picked from commit 0d9bb4ee125d5051a1db9d8afa0dc03d81d840a9)
Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
| ... | ... |
@@ -996,6 +996,7 @@ __docker_image_subcommand() {
|
| 996 | 996 |
"($help -q --quiet)"{-q,--quiet}"[Suppress verbose build output]" \
|
| 997 | 997 |
"($help)--rm[Remove intermediate containers after a successful build]" \ |
| 998 | 998 |
"($help)*--shm-size=[Size of '/dev/shm' (format is '<number><unit>')]:shm size: " \ |
| 999 |
+ "($help)--squash[Squash newly built layers into a single new layer]" \ |
|
| 999 | 1000 |
"($help -t --tag)*"{-t=,--tag=}"[Repository, name and tag for the image]: :__docker_complete_repositories_with_tags" \
|
| 1000 | 1001 |
"($help)*--ulimit=[ulimit options]:ulimit: " \ |
| 1001 | 1002 |
"($help)--userns=[Container user namespace]:user namespace:(host)" \ |