From: Benno Schulenberg Date: Mon, 15 Oct 2012 11:06:37 +0000 (+0200) Subject: doc: with cp -n, option -f is not redundant but ignored X-Git-Tag: v8.21~101 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=51e7c777f827899e196812552f30d7457372e503;p=thirdparty%2Fcoreutils.git 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. --- diff --git a/doc/coreutils.texi b/doc/coreutils.texi index b251b3d91c..f126f4945b 100644 --- a/doc/coreutils.texi +++ b/doc/coreutils.texi @@ -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 diff --git a/src/cp.c b/src/cp.c index 61b31afdc9..231d6a31b2 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\