]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
doc: with cp -n, option -f is not redundant but ignored
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 15 Oct 2012 11:06:37 +0000 (13:06 +0200)
committerPádraig Brady <P@draigBrady.com>
Fri, 9 Nov 2012 13:16:36 +0000 (13:16 +0000)
* src/cp.c (usage): Replace "redundant" with "ignored".
* doc/coreutils.texi (cp invocation): Likewise.

doc/coreutils.texi
src/cp.c

index b251b3d91c2ab89e116a58e078335aa1bd9244e7..f126f4945b68a9963344618ce2746929eb1d6c0b 100644 (file)
@@ -7734,8 +7734,8 @@ description of @option{--remove-destination}.
 This option is independent of the @option{--interactive} or
 @option{-i} option: neither cancels the effect of the other.
 
-This option is redundant if the @option{--no-clobber} or @option{-n} option is
-used.
+This option is ignored when the @option{--no-clobber} or @option{-n} option
+is also used.
 
 @item -H
 @opindex -H
index 61b31afdc919662514946034af5440c706d2894f..231d6a31b26c99d3120ff01f244e146eaad7ec32 100644 (file)
--- 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\