summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Heon <matthew.heon@pm.me>2019-05-28 13:22:15 -0400
committerMatthew Heon <matthew.heon@pm.me>2019-05-29 22:53:51 -0400
commit32fc6b906cf6641ecdb64be04e15b0abf93ecde4 (patch)
tree22c2dbf0dc24a8d398b99f2d59313859f77f00ee
parent49dc18552a13ee76dc012c35ff073ed07aaeb05b (diff)
downloadpodman-32fc6b906cf6641ecdb64be04e15b0abf93ecde4.tar.gz
podman-32fc6b906cf6641ecdb64be04e15b0abf93ecde4.tar.bz2
podman-32fc6b906cf6641ecdb64be04e15b0abf93ecde4.zip
Add --pause to podman cp manpage and bash completions
Signed-off-by: Matthew Heon <matthew.heon@pm.me>
-rw-r--r--completions/bash/podman1
-rw-r--r--docs/podman-cp.1.md4
2 files changed, 5 insertions, 0 deletions
diff --git a/completions/bash/podman b/completions/bash/podman
index 98038d19c..49c8c0e52 100644
--- a/completions/bash/podman
+++ b/completions/bash/podman
@@ -2388,6 +2388,7 @@ _podman_cp() {
--help
-h
--extract
+ --pause
"
_complete_ "$boolean_options"
}
diff --git a/docs/podman-cp.1.md b/docs/podman-cp.1.md
index 406dd51df..76fe57a9e 100644
--- a/docs/podman-cp.1.md
+++ b/docs/podman-cp.1.md
@@ -61,6 +61,10 @@ If you use a : in a local machine path, you must be explicit with a relative or
Extract the tar file into the destination directory. If the destination directory is not provided, extract the tar file into the root directory.
+**--pause**
+
+Pause the container while copying into it to avoid potential security issues around symlinks. Defaults to *true*.
+
## ALTERNATIVES
Podman has much stronger capabilities than just `podman cp` to achieve copy files between host and container.