summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenno Schulenberg <bensberg@justemail.net>2007-11-12 19:13:32 +0100
committerJim Meyering <meyering@redhat.com>2007-11-12 19:13:32 +0100
commitb7c2db676635518c06add0dd570543ae83e21f2e (patch)
treef56156ed0792890543ca013e531545f8377b9530
parentba3497409071e858a561ca95542291ffb328ab99 (diff)
downloadcoreutils-b7c2db676635518c06add0dd570543ae83e21f2e.tar.xz
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.
-rw-r--r--ChangeLog8
-rw-r--r--src/cp.c2
2 files changed, 9 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index e44f79064..8403ce362 100644
--- 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.
diff --git a/src/cp.c b/src/cp.c
index 7e35733b3..625376b53 100644
--- 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\