From be217caa3856c76a6b997c203422715e13b0335a Mon Sep 17 00:00:00 2001
From: Daniel J Walsh <dwalsh@redhat.com>
Date: Thu, 7 Jun 2018 01:00:07 -0400
Subject: Vendor in latest buildah code

This will add --layers support.
Also add missing information in man pages on podman build features.

Signed-off-by: Daniel J Walsh <dwalsh@redhat.com>

Closes: #938
Approved by: umohnani8
---
 completions/bash/podman | 18 ++++++++++++++++--
 1 file changed, 16 insertions(+), 2 deletions(-)

(limited to 'completions')

diff --git a/completions/bash/podman b/completions/bash/podman
index 12e4bb523..a5fd899d8 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -697,13 +697,15 @@ _podman_commit() {
 
 _podman_build() {
      local boolean_options="
-     --build
      --help
      -h
+     --layers
+     --no-cache
      --pull
      --pull-always
      --quiet
      -q
+     --squash
      --tls-verify
   "
 
@@ -714,6 +716,8 @@ _podman_build() {
      --build-arg
      --cert-dir
      --cgroup-parent
+     --cni-config-dir
+     --cni-plugin-path
      --cpu-period
      --cpu-quota
      --cpu-shares
@@ -724,10 +728,14 @@ _podman_build() {
      --file
      --format
      --iidfile
+     --ipc
      --label
      -m
      --memory
      --memory-swap
+     --net
+     --network
+     --pid
      --runtime
      --runtime-flag
      --security-opt
@@ -736,8 +744,14 @@ _podman_build() {
      -t
      --tag
      --ulimit
-     -v
+     --userns
+     --userns-uid-map
+     --userns-gid-map
+     --userns-uid-map-user
+     --userns-gid-map-group
+     --uts
      --volume
+     -v
   "
 
      local all_options="$options_with_args $boolean_options"
-- 
cgit v1.2.3-54-g00ecf