aboutsummaryrefslogtreecommitdiff
path: root/completions/bash
diff options
context:
space:
mode:
authorJose Diaz-Gonzalez <email@josediazgonzalez.com>2019-05-29 03:56:47 -0400
committerJose Diaz-Gonzalez <email@josediazgonzalez.com>2019-05-29 12:44:25 -0400
commit635c161f38aa68c40d98b108f6a3b12f0e36a58a (patch)
treee1e5ff68c7f4ce98cebb60a601f5326006da92e7 /completions/bash
parentcd5bc9c4c5cdc0a51921fae8e58a4b8962cda6e6 (diff)
downloadpodman-635c161f38aa68c40d98b108f6a3b12f0e36a58a.tar.gz
podman-635c161f38aa68c40d98b108f6a3b12f0e36a58a.tar.bz2
podman-635c161f38aa68c40d98b108f6a3b12f0e36a58a.zip
add missing container cp command
'docker cp' is an alias for 'docker container cp', and podman should have the equivalent alias. Signed-off-by: Jose Diaz-Gonzalez <email@josediazgonzalez.com>
Diffstat (limited to 'completions/bash')
-rw-r--r--completions/bash/podman5
1 files changed, 5 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 60d5fde52..2c334957e 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -764,6 +764,10 @@ _podman_container_commit() {
_podman_commit
}
+_podman_container_cp() {
+ _podman_cp
+}
+
_podman_container_create() {
_podman_create
}
@@ -961,6 +965,7 @@ _podman_container() {
attach
checkpoint
commit
+ cp
create
diff
exec