summaryrefslogtreecommitdiff
path: root/usr.bin/patch/patch.1
diff options
context:
space:
mode:
Diffstat (limited to 'usr.bin/patch/patch.1')
-rw-r--r--usr.bin/patch/patch.112
1 files changed, 10 insertions, 2 deletions
diff --git a/usr.bin/patch/patch.1 b/usr.bin/patch/patch.1
index c3b8d4c3f2b..d1aef308bc3 100644
--- a/usr.bin/patch/patch.1
+++ b/usr.bin/patch/patch.1
@@ -1,4 +1,4 @@
-.\" $NetBSD: patch.1,v 1.4 1996/09/19 06:27:12 thorpej Exp $ -*- nroff -*-
+.\" $NetBSD: patch.1,v 1.5 2000/10/16 07:05:04 kleink Exp $ -*- nroff -*-
.rn '' }`
.de Sh
.br
@@ -80,8 +80,13 @@ You may also specify where you want the output to go with a
switch; if that file already exists, it is backed up first.
.PP
If
+no
.I patchfile
-is omitted, or is a hyphen, the patch will be read from standard input.
+argument is specified using the
+.BR -i
+option, and the
+.I patchfile
+argument is omitted, or is a hyphen, the patch will be read from standard input.
.PP
Upon startup, patch will attempt to determine the type of the diff listing,
unless over-ruled by a
@@ -255,6 +260,9 @@ This option does not suppress commentary; use
.B \-s
for that.
.TP 5
+.B \-i <patchfile> or \-\-patchfile <patchfile>
+Read the patch to be applied from the specified file.
+.TP 5
.B \-t or \-\-batch
similar to
.BR \-f ,