git: aaa1806f68ef - main - cp: Correct the list of non-portable flags.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 01 Apr 2024 17:44:37 UTC
The branch main has been updated by des:
URL: https://cgit.FreeBSD.org/src/commit/?id=aaa1806f68ef3102a9b888a03360f166b88618c8
commit aaa1806f68ef3102a9b888a03360f166b88618c8
Author: Dag-Erling Smørgrav <des@FreeBSD.org>
AuthorDate: 2024-04-01 17:28:53 +0000
Commit: Dag-Erling Smørgrav <des@FreeBSD.org>
CommitDate: 2024-04-01 17:29:31 +0000
cp: Correct the list of non-portable flags.
MFC after: 1 week
Sponsored by: Klara, Inc.
Reviewed by: kevans
Differential Revision: https://reviews.freebsd.org/D44576
---
bin/cp/cp.1 | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index 66d4ab04f5d3..d37776dda4d3 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 14, 2023
+.Dd March 28, 2024
.Dt CP 1
.Os
.Sh NAME
@@ -309,12 +309,14 @@ differ as they copy special files as normal
files while recreating a hierarchy.
.Pp
The
+.Fl a ,
.Fl l ,
+.Fl N ,
+.Fl n ,
.Fl s ,
.Fl v ,
-.Fl x
and
-.Fl n
+.Fl x
options are non-standard and their use in scripts is not recommended.
.Sh SEE ALSO
.Xr mv 1 ,