summaryrefslogtreecommitdiff
path: root/usr.bin/strip
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-24 20:23:05 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-05-24 20:23:05 +0000
commitb327e7ceda6306fc80a40d3f2754692573f36bd8 (patch)
treefea4a7231ebd97a2674b882332fb6d75eb8ad163 /usr.bin/strip
parentd10c487e1cdeadde9716396c84bf048debfe9bb8 (diff)
document the -o option
Diffstat (limited to 'usr.bin/strip')
-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