summaryrefslogtreecommitdiffstats
path: root/usr.bin/patch/patch.1
diff options
context:
space:
mode:
authorzhuk <zhuk@openbsd.org>2018-06-22 15:37:15 +0000
committerzhuk <zhuk@openbsd.org>2018-06-22 15:37:15 +0000
commitf5591223bf9fae9c752da4e8be1f2709ee33db98 (patch)
tree6754a5ef8726b39bbaf6905a7a0fda113999950d /usr.bin/patch/patch.1
parentUpdate the pointer to the trapframe in the PCB when handling an AST. (diff)
downloadwireguard-openbsd-f5591223bf9fae9c752da4e8be1f2709ee33db98.tar.xz
wireguard-openbsd-f5591223bf9fae9c752da4e8be1f2709ee33db98.zip
Add --dry-run as synonym to -C/--check.
FreeBSD and NetBSD has this for a while, and GNU patch got it even earlier than we got -C. input from sthen@ & jca@; okay sthen@, jca@ and deraadt@.
Diffstat (limited to 'usr.bin/patch/patch.1')
-rw-r--r--usr.bin/patch/patch.16
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/patch/patch.1 b/usr.bin/patch/patch.1
index 4965775e2a1..8d915b87287 100644
--- a/usr.bin/patch/patch.1
+++ b/usr.bin/patch/patch.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: patch.1,v 1.31 2018/04/11 10:06:50 zhuk Exp $
+.\" $OpenBSD: patch.1,v 1.32 2018/06/22 15:37:15 zhuk Exp $
.\" Copyright 1986, Larry Wall
.\"
.\" Redistribution and use in source and binary forms, with or without
@@ -19,7 +19,7 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE.
.\"
-.Dd $Mdocdate: April 11 2018 $
+.Dd $Mdocdate: June 22 2018 $
.Dt PATCH 1
.Os
.Sh NAME
@@ -99,7 +99,7 @@ This is equivalent to specifying
This option is currently the default, unless
.Fl -posix
is specified.
-.It Fl C , Fl Fl check
+.It Fl C , Fl Fl check , Fl Fl dry-run
Checks that the patch would apply cleanly, but does not modify anything.
.It Fl c , Fl Fl context
Forces