git: 53fc8e190241 - main - cp: Move the -N flag in the manual page.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 14 Dec 2023 20:02:25 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=53fc8e190241233d94e183f8a39ec39f2154dfa8
commit 53fc8e190241233d94e183f8a39ec39f2154dfa8
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2023-12-14 20:02:06 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2023-12-14 20:02:06 +0000
cp: Move the -N flag in the manual page.
This accidentally got left out of 0f4467ce444b.
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans, allanjude
Differential Revision: https://reviews.freebsd.org/D43067
---
bin/cp/cp.1 | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index 32e6fe295b35..66d4ab04f5d3 100644
--- a/bin/cp/cp.1
+++ b/bin/cp/cp.1
@@ -29,7 +29,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd December 7, 2023
+.Dd December 14, 2023
.Dt CP 1
.Os
.Sh NAME
@@ -88,10 +88,6 @@ option is specified, symbolic links on the command line are followed.
If the
.Fl R
option is specified, all symbolic links are followed.
-.It Fl N
-When used with
-.Fl p ,
-suppress copying file flags.
.It Fl P
No symbolic links are followed.
This is the default if the
@@ -159,6 +155,10 @@ or
options.)
.It Fl l
Create hard links to regular files in a hierarchy instead of copying.
+.It Fl N
+When used with
+.Fl p ,
+suppress copying file flags.
.It Fl n
Do not overwrite an existing file.
(The