summaryrefslogtreecommitdiff
path: root/src/copy.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/copy.h')
-rw-r--r--src/copy.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/copy.h b/src/copy.h
index c8cfb9928..4f80fd676 100644
--- a/src/copy.h
+++ b/src/copy.h
@@ -50,12 +50,13 @@ struct cp_options
int one_file_system;
/* If nonzero, attempt to give the copies the original files' permissions,
- ownership, and timestamps. */
+ owner, group, and timestamps. */
int preserve;
/* If nonzero and any of the above (for preserve) file attributes cannot
- be applied to a destination file, treat it as a failure. E.g. cp -p
- requires this be nonzero, mv requires it be zero. */
+ be applied to a destination file, treat it as a failure and return
+ nonzero immediately. E.g. cp -p requires this be nonzero, mv requires
+ it be zero. */
int require_preserve;
/* If nonzero, copy directories recursively and copy special files