summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2010-05-24 23:42:40 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2010-05-24 23:42:40 +0000
commitae9c976db8e530190255002869d17e19c1af1c30 (patch)
tree510be76995e4b8b0ca7583372a579bb358325e61
parent322a44485237bb2fc1a12a264e4d7cf57a78d441 (diff)
- note -o as an extension
- sync usage() and synopsis
-rw-r--r--usr.bin/strip/strip.14
-rw-r--r--usr.bin/strip/strip.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.bin/strip/strip.1 b/usr.bin/strip/strip.1
index ebc70d756c4..0c19918ec28 100644
--- a/usr.bin/strip/strip.1
+++ b/usr.bin/strip/strip.1
@@ -1,4 +1,4 @@
-.\" $OpenBSD: strip.1,v 1.11 2010/05/24 20:23:04 deraadt Exp $
+.\" $OpenBSD: strip.1,v 1.12 2010/05/24 23:42:39 jmc Exp $
.\"
.\" Copyright (c) 1989, 1990 The Regents of the University of California.
.\" All rights reserved.
@@ -76,7 +76,7 @@ specification,
though its presence is optional.
.Pp
The flags
-.Op Fl dx
+.Op Fl dox
are extensions to that specification.
.Sh HISTORY
A
diff --git a/usr.bin/strip/strip.c b/usr.bin/strip/strip.c
index 2f10a15833f..d7082b97ccb 100644
--- a/usr.bin/strip/strip.c
+++ b/usr.bin/strip/strip.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: strip.c,v 1.27 2010/05/24 20:07:07 deraadt Exp $ */
+/* $OpenBSD: strip.c,v 1.28 2010/05/24 23:42:39 jmc Exp $ */
/*
* Copyright (c) 1988 Regents of the University of California.
@@ -427,7 +427,7 @@ usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-dx] [-o ofile] file ...\n", __progname);
+ fprintf(stderr, "usage: %s [-dx] [-o outfile] file ...\n", __progname);
exit(1);
}