From b327e7ceda6306fc80a40d3f2754692573f36bd8 Mon Sep 17 00:00:00 2001 From: Theo de Raadt Date: Mon, 24 May 2010 20:23:05 +0000 Subject: document the -o option --- usr.bin/strip/strip.1 | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'usr.bin/strip') 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 -- cgit v1.2.3