cp.c: adjust a comment to make it consistent with documentation
authorJim Meyering <meyering@redhat.com>
Tue, 23 Sep 2008 14:15:56 +0000 (16:15 +0200)
committerJim Meyering <meyering@redhat.com>
Wed, 24 Sep 2008 05:24:47 +0000 (07:24 +0200)
'-a' is equivalent to -dpR, so s/-dpPR/-dpR/;  the -P is redundant,
since -d already implies -P, and both --help and "info cp" say -dpR:
Corresponding doc changes: 080ac7785071c7f135711a39e57c71d9057d9bd7
b7c2db676635518c06add0dd570543ae83e21f2e.

src/cp.c

index 059f317..77d4702 100644 (file)
--- a/src/cp.c
+++ b/src/cp.c
@@ -920,7 +920,7 @@ main (int argc, char **argv)
                                     sparse_type_string, sparse_type);
          break;
 
-       case 'a':               /* Like -dpPR. */
+       case 'a':               /* Like -dpR. */
          x.dereference = DEREF_NEVER;
          x.preserve_links = true;
          x.preserve_ownership = true;