summaryrefslogtreecommitdiff
path: root/bin/cp/cp.1
diff options
context:
space:
mode:
authorAaron Campbell <aaron@cvs.openbsd.org>1999-09-23 02:59:38 +0000
committerAaron Campbell <aaron@cvs.openbsd.org>1999-09-23 02:59:38 +0000
commit611e3fde18fdf3eb5935c4d652c97a088b5781b2 (patch)
treee8549a2f5fe587953972a8d69f958ff83bb55a73 /bin/cp/cp.1
parent2012d9778255d968ee071b025cc3e3422d3f08c5 (diff)
Description of -R option should be first.
Diffstat (limited to 'bin/cp/cp.1')
-rw-r--r--bin/cp/cp.124
1 files changed, 12 insertions, 12 deletions
diff --git a/bin/cp/cp.1 b/bin/cp/cp.1
index 57b33874616..2c7d076211e 100644
--- a/bin/cp/cp.1
+++ b/bin/cp/cp.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: cp.1,v 1.11 1999/06/04 02:45:11 aaron Exp $
+.\" $OpenBSD: cp.1,v 1.12 1999/09/23 02:59:37 aaron Exp $
.\" $NetBSD: cp.1,v 1.9 1995/07/25 19:36:45 jtc Exp $
.\"
.\" Copyright (c) 1989, 1990, 1993, 1994
@@ -77,6 +77,17 @@ detects an attempt to copy a file to itself, the copy will fail.
.Pp
The options are as follows:
.Bl -tag -width flag
+.It Fl R
+If
+.Ar source_file
+designates a directory,
+.Nm
+copies the directory and the entire subtree connected at that point.
+This option also causes symbolic links to be copied, rather than
+followed, and
+special files to be created, rather than being copied as normal files.
+Created directories have the same mode as the corresponding source
+directory, unmodified by the process's umask.
.It Fl H
If the
.Fl R
@@ -90,17 +101,6 @@ option is also specified, all symbolic links are followed.
If the
.Fl R
option is also specified, no symbolic links are followed.
-.It Fl R
-If
-.Ar source_file
-designates a directory,
-.Nm
-copies the directory and the entire subtree connected at that point.
-This option also causes symbolic links to be copied, rather than
-followed, and
-special files to be created, rather than being copied as normal files.
-Created directories have the same mode as the corresponding source
-directory, unmodified by the process's umask.
.It Fl f
For each existing destination pathname, remove it and
create a new file, without prompting for confirmation,