]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
Clarify description of cp's -a option.
authorBenno Schulenberg <bensberg@justemail.net>
Mon, 12 Nov 2007 18:13:32 +0000 (19:13 +0100)
committerJim Meyering <meyering@redhat.com>
Mon, 12 Nov 2007 18:13:32 +0000 (19:13 +0100)
* src/cp.c (usage) [-a]: Remove unnecessary 'P'.
Since option -d of 'cp' includes the function of -P, mentioning the
latter in the description of option -a is redundant and therefore
slightly confusing, as the reader tries to figure out what it adds.

ChangeLog
src/cp.c

index e44f79064bf314e5ddb0899fc8dd35e6d75b4670..8403ce362b7abb3d77f31108b295a44d3c15bcf3 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2007-11-12  Benno Schulenberg  <bensberg@justemail.net>
+
+       Clarify description of cp's -a option.
+       * src/cp.c (usage) [-a]: Remove unnecessary 'P'.
+       Since option -d of 'cp' includes the function of -P, mentioning the
+       latter in the description of option -a is redundant and therefore
+       slightly confusing, as the reader tries to figure out what it adds.
+
 2007-11-09  Jim Meyering  <meyering@redhat.com>
 
        bootstrap: fix typo to enable use of $gnulib_tool_option_extras.
index 7e35733b35a86cfe732c5c75d97d1d5ea18cd6df..625376b53879c430f9920866e20b083a73d8a055 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -174,7 +174,7 @@ Copy SOURCE to DEST, or multiple SOURCE(s) to DIRECTORY.\n\
 Mandatory arguments to long options are mandatory for short options too.\n\
 "), stdout);
       fputs (_("\
-  -a, --archive                same as -dpPR\n\
+  -a, --archive                same as -dpR\n\
       --backup[=CONTROL]       make a backup of each existing destination file\n\
   -b                           like --backup but does not accept an argument\n\
       --copy-contents          copy contents of special files when recursive\n\