summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2010-05-24 20:23:04 +0000
committerderaadt <deraadt@openbsd.org>2010-05-24 20:23:04 +0000
commit36699b9818801b89b25744fc4d60b4d2ef1ffbee (patch)
tree0b145c11b1d5898c518cc25867ff72960f329cae
parentSupport the -o operation in the non-binutils version, since some (diff)
downloadwireguard-openbsd-36699b9818801b89b25744fc4d60b4d2ef1ffbee.tar.xz
wireguard-openbsd-36699b9818801b89b25744fc4d60b4d2ef1ffbee.zip
document the -o option
-rw-r--r--usr.bin/strip/strip.19
1 files changed, 7 insertions, 2 deletions
diff --git a/usr.bin/strip/strip.1 b/usr.bin/strip/strip.1
index 74334e4b465..ebc70d756c4 100644
--- a/usr.bin/strip/strip.1
+++ b/usr.bin/strip/strip.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strip.1,v 1.10 2009/02/10 19:24:17 jmc Exp $
+.\" $OpenBSD: strip.1,v 1.11 2010/05/24 20:23:04 deraadt Exp $
.\"
.\" Copyright (c) 1989, 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -29,7 +29,7 @@
.\"
.\" from: @(#)strip.1 6.6 (Berkeley) 5/26/91
.\"
-.Dd $Mdocdate: February 10 2009 $
+.Dd $Mdocdate: May 24 2010 $
.Dt STRIP 1
.Os
.Sh NAME
@@ -38,6 +38,7 @@
.Sh SYNOPSIS
.Nm strip
.Op Fl dx
+.Op Fl o Ar outfile
.Ar
.Sh DESCRIPTION
The
@@ -52,6 +53,10 @@ The options are as follows:
.Bl -tag -width Ds
.It Fl d
Delete only debugging and empty symbols.
+.It Fl o Ar outfile
+Place the stripped output into the specified file instead of modifying
+the input file.
+This option requires that only one input file be supplied.
.It Fl x
Delete only debugging, compiler identification, and local symbols.
.El