diff options
author | 1999-09-23 02:59:37 +0000 | |
---|---|---|
committer | 1999-09-23 02:59:37 +0000 | |
commit | 10948d80bfd6eb07e6627ace98d2906a8f6c4eaf (patch) | |
tree | a9da3007c96f56fedfd0f6e982930fc184d9c64d | |
parent | Improve this man page significantly; more helpful, easier to read, and easier (diff) | |
download | wireguard-openbsd-10948d80bfd6eb07e6627ace98d2906a8f6c4eaf.tar.xz wireguard-openbsd-10948d80bfd6eb07e6627ace98d2906a8f6c4eaf.zip |
Description of -R option should be first.
-rw-r--r-- | bin/cp/cp.1 | 24 |
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, |