summaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2019-09-25 23:38:55 +0200
committerGitHub <noreply@github.com>2019-09-25 23:38:55 +0200
commit3ed265c520eb4cea1e9157125dbff0e6a1b0b5f8 (patch)
tree14852e5dcdc4b554881b3eebc49c58d079fa7069 /docs
parent19075ca16e6b34cc7f25d3fbc0fad96b44cbfef5 (diff)
parent0144c3796ba3dd0555e35fd2cc3f76bde10a90a0 (diff)
downloadpodman-3ed265c520eb4cea1e9157125dbff0e6a1b0b5f8.tar.gz
podman-3ed265c520eb4cea1e9157125dbff0e6a1b0b5f8.tar.bz2
podman-3ed265c520eb4cea1e9157125dbff0e6a1b0b5f8.zip
Merge pull request #4101 from QiWang19/nonexistdir
fix cp none exists dest path ends with '/'
Diffstat (limited to 'docs')
-rw-r--r--docs/podman-cp.1.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/podman-cp.1.md b/docs/podman-cp.1.md
index 736bdb12a..0f54b2e8b 100644
--- a/docs/podman-cp.1.md
+++ b/docs/podman-cp.1.md
@@ -29,7 +29,7 @@ Assuming a path separator of /, a first argument of **src_path** and second argu
- **dest_path** does not exist
- the file is saved to a file created at **dest_path**
- **dest_path** does not exist and ends with /
- - **dest_path** is created as a directory and the file is copied into this directory using the basename from **src_path**
+ - Error condition: the destination directory must exist.
- **dest_path** exists and is a file
- the destination is overwritten with the source file's contents
- **dest_path** exists and is a directory