diff options
| author | kleink <kleink@NetBSD.org> | 2000-10-16 07:05:04 +0000 |
|---|---|---|
| committer | kleink <kleink@NetBSD.org> | 2000-10-16 07:05:04 +0000 |
| commit | 961cdd38dd45873eb2efce8dcba9bf2672d3bbd3 (patch) | |
| tree | 4e34bb5ad62b91353d57e68ce1e40b00ed6e2146 /usr.bin/patch/patch.1 | |
| parent | c64069308bd9b857694266b6414ecb893dca6988 (diff) | |
Support the 1003.2-92 -i option to specify a patchfile;
fixes PR standards/11221.
Diffstat (limited to 'usr.bin/patch/patch.1')
| -rw-r--r-- | usr.bin/patch/patch.1 | 12 |
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 , |
