]> git.ipfire.org Git - thirdparty/openssh-portable.git/commitdiff
upstream: Clarify which file's attributes -p preserves, and that
authordtucker@openbsd.org <dtucker@openbsd.org>
Fri, 10 Sep 2021 07:11:11 +0000 (07:11 +0000)
committerDarren Tucker <dtucker@dtucker.net>
Fri, 10 Sep 2021 10:34:09 +0000 (20:34 +1000)
it's specifically the file mode bits. bz#3340 from calestyo at scientia.net,
ok djm@ jmc@

OpenBSD-Commit-ID: f09e6098ed1c4be00c730873049825f8ee7cb884

scp.1

diff --git a/scp.1 b/scp.1
index 90b1d1dca2dfed32238b793a856860c899c3ad95..8234ddf90a1dd9c731d0124352a87fa7c31b3f82 100644 (file)
--- a/scp.1
+++ b/scp.1
@@ -8,9 +8,9 @@
 .\"
 .\" Created: Sun May  7 00:14:37 1995 ylo
 .\"
-.\" $OpenBSD: scp.1,v 1.102 2021/09/09 06:17:39 jmc Exp $
+.\" $OpenBSD: scp.1,v 1.103 2021/09/10 07:11:11 dtucker Exp $
 .\"
-.Dd $Mdocdate: September 9 2021 $
+.Dd $Mdocdate: September 10 2021 $
 .Dt SCP 1
 .Os
 .Sh NAME
@@ -229,10 +229,10 @@ Note that this option is written with a capital
 .Sq P ,
 because
 .Fl p
-is already reserved for preserving the times and modes of the file.
+is already reserved for preserving the times and mode bits of the file.
 .It Fl p
-Preserves modification times, access times, and modes from the
-original file.
+Preserves modification times, access times, and file mode bits from the
+source file.
 .It Fl q
 Quiet mode: disables the progress meter as well as warning and diagnostic
 messages from