diff options
author | Jim Meyering <jim@meyering.net> | 1999-11-01 16:00:40 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1999-11-01 16:00:40 +0000 |
commit | 84e957d30082511664bb98ce9ee2b76b4f62ede5 (patch) | |
tree | b3daaaa5159f6d145f3962dc4eccba9423de5bb3 | |
parent | 80871da19277bb8f5941731f4ec77d513dfd9a83 (diff) | |
download | coreutils-84e957d30082511664bb98ce9ee2b76b4f62ede5.tar.xz |
(usage): Warn about mixing use of `-r' with FIFOs and
other special files like /dev/zero.
-rw-r--r-- | src/cp.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -145,6 +145,8 @@ Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n\ -p, --preserve preserve file attributes if possible\n\ -P, --parents append source path to DIRECTORY\n\ -r copy recursively, non-directories as files\n\ + WARNING: use -R instead when you might copy\n\ + special files like FIFOs or /dev/zero\n\ --sparse=WHEN control creation of sparse files\n\ -R, --recursive copy directories recursively\n\ -s, --symbolic-link make symbolic links instead of copying\n\ |