diff options
-rw-r--r-- | coreutils/cp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/coreutils/cp.c b/coreutils/cp.c index 889e4604d..046067f35 100644 --- a/coreutils/cp.c +++ b/coreutils/cp.c | |||
@@ -44,8 +44,9 @@ int cp_main(int argc, char **argv) | |||
44 | // Soft- and hardlinking don't mix | 44 | // Soft- and hardlinking don't mix |
45 | // -P and -d are the same (-P is POSIX, -d is GNU) | 45 | // -P and -d are the same (-P is POSIX, -d is GNU) |
46 | // -r and -R are the same | 46 | // -r and -R are the same |
47 | // -R (and therefore -r) switches on -d (coreutils does this) | ||
47 | // -a = -pdR | 48 | // -a = -pdR |
48 | opt_complementary = "-2:l--s:s--l:Pd:rR:apdR"; | 49 | opt_complementary = "-2:l--s:s--l:Pd:rRd:Rd:apdR"; |
49 | flags = getopt32(argv, FILEUTILS_CP_OPTSTR "arPHL"); | 50 | flags = getopt32(argv, FILEUTILS_CP_OPTSTR "arPHL"); |
50 | argc -= optind; | 51 | argc -= optind; |
51 | argv += optind; | 52 | argv += optind; |