summaryrefslogtreecommitdiff
path: root/src/cp.c
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2012-10-15 13:06:37 +0200
committerPádraig Brady <P@draigBrady.com>2012-11-09 13:16:36 +0000
commit51e7c777f827899e196812552f30d7457372e503 (patch)
treeb3c1f15ac7de322375aa92245a8e0a52bdf54eb4 /src/cp.c
parenta395b637a62a380f2d11e12f8c9e0eceb9e86a8f (diff)
downloadcoreutils-51e7c777f827899e196812552f30d7457372e503.tar.xz
doc: with cp -n, option -f is not redundant but ignored
* src/cp.c (usage): Replace "redundant" with "ignored". * doc/coreutils.texi (cp invocation): Likewise.
Diffstat (limited to 'src/cp.c')
-rw-r--r--src/cp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/cp.c b/src/cp.c
index 61b31afdc..231d6a31b 100644
--- a/src/cp.c
+++ b/src/cp.c
@@ -177,9 +177,8 @@ Mandatory arguments to long options are mandatory for short options too.\n\
"), stdout);
fputs (_("\
-f, --force if an existing destination file cannot be\n\
- opened, remove it and try again (redundant if\
-\n\
- the -n option is used)\n\
+ opened, remove it and try again (this option\n\
+ is ignored when the -n option is also used)\n\
-i, --interactive prompt before overwrite (overrides a previous -n\
\n\
option)\n\