diff options
author | Jim Meyering <jim@meyering.net> | 2002-03-02 17:15:42 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2002-03-02 17:15:42 +0000 |
commit | 7a5c83d8d53223c7b0e494175ee5e44b2ed555c3 (patch) | |
tree | c48130eb6f3fd39bd0e04e69cf4e8d2c7b217fee /src/cp.c | |
parent | 808b51dfba69710f1a84c480f538a31e7b644cb2 (diff) | |
download | coreutils-7a5c83d8d53223c7b0e494175ee5e44b2ed555c3.tar.xz |
(main): Revert change of 2001-12-29. With this change,
cp -r once again preserves symlinks.
(usage): Document the original (now-restored) behavior.
Diffstat (limited to 'src/cp.c')
-rw-r--r-- | src/cp.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -199,7 +199,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\ -P same as `--no-dereference'\n\ "), stdout); fputs (_("\ - -r copy recursively, non-directories as files\n\ + -r copy recursively, non-directories as files,\n\ + but do preserve symbolic links\n\ WARNING: use -R instead when you might copy\n\ special files like FIFOs or /dev/zero\n\ --remove-destination remove each existing destination file before\n\ @@ -947,7 +948,6 @@ main (int argc, char **argv) case 'r': x.recursive = 1; x.copy_as_regular = 1; - x.dereference = DEREF_ALWAYS; if (seen_option_a) seen_option_a_then_r = true; break; |