Add --pause to podman cp manpage and bash completions

Signed-off-by: Matthew Heon <matthew.heon@pm.me>
This commit is contained in:
Matthew Heon 2019-05-28 13:22:15 -04:00
parent 49dc18552a
commit 32fc6b906c
2 changed files with 5 additions and 0 deletions

View File

@ -2388,6 +2388,7 @@ _podman_cp() {
--help --help
-h -h
--extract --extract
--pause
" "
_complete_ "$boolean_options" _complete_ "$boolean_options"
} }

View File

@ -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. 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 ## ALTERNATIVES
Podman has much stronger capabilities than just `podman cp` to achieve copy files between host and container. Podman has much stronger capabilities than just `podman cp` to achieve copy files between host and container.