From: Jim Meyering Date: Mon, 1 Nov 1999 16:00:40 +0000 (+0000) Subject: (usage): Warn about mixing use of `-r' with FIFOs and X-Git-Tag: FILEUTILS-4_0j-trial~114 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=84e957d30082511664bb98ce9ee2b76b4f62ede5;p=thirdparty%2Fcoreutils.git (usage): Warn about mixing use of `-r' with FIFOs and other special files like /dev/zero. --- diff --git a/src/cp.c b/src/cp.c index 3e5773b4fe..f85ef234d6 100644 --- a/src/cp.c +++ b/src/cp.c @@ -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\