aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2017-02-15 16:00:33 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2017-02-15 16:00:33 +0300
commit9cb547ca23e1bb7312f202e3ed90277ff5cc3dd6 (patch)
tree0dfc05ccb48b00954d2314cf3aa2ebce23d96129 /doc
parent2aedf0433a93b11fbdc493df487898776bcd7835 (diff)
Minor change in cp testscript builtin spec
Diffstat (limited to 'doc')
-rw-r--r--doc/testscript.cli5
1 files changed, 3 insertions, 2 deletions
diff --git a/doc/testscript.cli b/doc/testscript.cli
index 7dc5467..61319a3 100644
--- a/doc/testscript.cli
+++ b/doc/testscript.cli
@@ -2243,8 +2243,9 @@ determination of whether \i{src-path} is a file or directory is done by
querying the filesystem entry type.
In this case \c{cp} fails if a filesystem entry for any of the \i{src-path}
-files/directories does not exist or is of a wrong type or if the \i{dst-dir}
-filesystem entry does not exist or is not a directory.
+files/directories does not exist or if the \i{dst-dir} filesystem entry does
+not exist or is not a directory. For a \i{src-path} directory \c{cp} also fails
+if the \i{dst-dir/src-name} filesystem entry already exists.
Newly created files and directories that are inside the script working
directory are automatically registered for cleanup.