summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bin/cp/cp.16
1 files changed, 5 insertions, 1 deletions
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index c14221d..b254db7c 100644
--- a/bin/cp/cp.1
+++ b/bin/cp/cp.1
@@ -32,7 +32,7 @@
.\" @(#)cp.1 8.3 (Berkeley) 4/18/94
.\" $FreeBSD$
.\"
-.Dd July 23, 2002
+.Dd February 23, 2005
.Dt CP 1
.Os
.Sh NAME
@@ -94,6 +94,10 @@ If
designates a directory,
.Nm
copies the directory and the entire subtree connected at that point.
+If the source_file ends in a
+.Pa / ,
+the contents of the directory are copied rather than the
+directory itself.
This option also causes symbolic links to be copied, rather than
indirected through, and for
.Nm
OpenPOWER on IntegriCloud