summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-09-03 13:18:22 +0000
committerJim Meyering <jim@meyering.net>2000-09-03 13:18:22 +0000
commite2a422b8efe5b302502e39ee288fd09a746a83e2 (patch)
tree99e3fcf40c67192d8b504b2112e5c227c844a491 /src
parent81ab1beb525166f2acd54d0c98db485373d5a9dc (diff)
downloadcoreutils-e2a422b8efe5b302502e39ee288fd09a746a83e2.tar.xz
comment
Diffstat (limited to 'src')
-rw-r--r--src/copy.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/copy.h b/src/copy.h
index 5abc76be0..51923bacc 100644
--- a/src/copy.h
+++ b/src/copy.h
@@ -51,7 +51,10 @@ struct cp_options
int unlink_dest_before_opening;
/* If nonzero, first try to open each existing destination nondirectory,
- then, if the open fails, unlink and try again. */
+ then, if the open fails, unlink and try again.
+ This option must be set for `cp', in case the destination file
+ exists when the open is attempted. It is irrelevant to `mv' since
+ any destination is sure to be removed before the open. */
int unlink_dest_after_failed_open;
/* Setting this member is meaningful only if FORCE is also set.