summaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorQi Wang <qiwan@redhat.com>2019-03-04 16:49:27 -0500
committerQi Wang <qiwan@redhat.com>2019-03-06 10:06:25 -0500
commitd9e1b2c47006483300692f39ad553271b5b6eab2 (patch)
tree16bd8dc8f334725feb2c97194662a7404ff092c2 /completions/bash
parent7418ff988b520466d04cacf6d88b50d67bfa8ddf (diff)
downloadpodman-d9e1b2c47006483300692f39ad553271b5b6eab2.tar.gz
podman-d9e1b2c47006483300692f39ad553271b5b6eab2.tar.bz2
podman-d9e1b2c47006483300692f39ad553271b5b6eab2.zip
add flag --extract tar file in podman cp
Signed-off-by: Qi Wang <qiwan@redhat.com>
Diffstat (limited to 'completions/bash')
-rw-r--r--completions/bash/podman10
1 files changed, 10 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 74e3a49d2..560b3699f 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -2308,6 +2308,15 @@ _podman_load() {
_complete_ "$options_with_args" "$boolean_options"
}
+_podman_cp() {
+ local boolean_options="
+ --help
+ -h
+ --extract
+ "
+ _complete_ "$boolean_options"
+}
+
_podman_login() {
local options_with_args="
--username
@@ -2974,6 +2983,7 @@ _podman_podman() {
build
commit
container
+ cp
create
diff
exec