aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDag-Erling Smørgrav <des@FreeBSD.org>2023-12-14 20:02:06 +0000
committerDag-Erling Smørgrav <des@FreeBSD.org>2023-12-14 20:02:06 +0000
commit53fc8e190241233d94e183f8a39ec39f2154dfa8 (patch)
treef0098be5ac7a5b22eab117a38c33ad3a894b1ceb
parent3812c653b1468bc97003c9f59cc13cfd9afb6ed1 (diff)
downloadsrc-53fc8e190241233d94e183f8a39ec39f2154dfa8.tar.gz
src-53fc8e190241233d94e183f8a39ec39f2154dfa8.zip
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
-rw-r--r--bin/cp/cp.110
1 files 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