summaryrefslogtreecommitdiff
path: root/sys/arch/mvme68k/stand
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2013-09-29 21:30:51 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2013-09-29 21:30:51 +0000
commit7bde551dd1e07a95f3e9f4e4f94b6c03e62bdd82 (patch)
tree68f46b92835e3e80d044d9f9e6fa00e84c9b9fa8 /sys/arch/mvme68k/stand
parentfa6b93ed201771db8d11ef9343f985b5996de11a (diff)
various fixes to sync usage() with SYNOPSIS, and make these pages a bit
more consistent; feedback/ok miod
Diffstat (limited to 'sys/arch/mvme68k/stand')
-rw-r--r--sys/arch/mvme68k/stand/installboot/installboot.817
-rw-r--r--sys/arch/mvme68k/stand/installboot/installboot.c4
2 files changed, 10 insertions, 11 deletions
diff --git a/sys/arch/mvme68k/stand/installboot/installboot.8 b/sys/arch/mvme68k/stand/installboot/installboot.8
index 8f343a384bc..ad09d9a185a 100644
--- a/sys/arch/mvme68k/stand/installboot/installboot.8
+++ b/sys/arch/mvme68k/stand/installboot/installboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: installboot.8,v 1.17 2010/03/06 16:16:43 jmc Exp $
+.\" $OpenBSD: installboot.8,v 1.18 2013/09/29 21:30:49 jmc Exp $
.\"
.\" Copyright (c) 1994 Paul Kranenburg
.\" All rights reserved.
@@ -28,7 +28,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: March 6 2010 $
+.Dd $Mdocdate: September 29 2013 $
.Dt INSTALLBOOT 8 mvme68k
.Os
.Sh NAME
@@ -36,8 +36,7 @@
.Nd install a bootstrap on an FFS disk
.Sh SYNOPSIS
.Nm installboot
-.Op Fl n
-.Op Fl v
+.Op Fl nv
.Ar boot
.Ar bootxx
.Ar rawdev
@@ -62,12 +61,12 @@ will use to load
The arguments are:
.Bl -tag -width bootxx
.It Ar boot
-the name of the second-stage boot program in the file system
+The name of the second-stage boot program in the file system
where the first-stage boot program is to be installed.
.It Ar bootxx
-the name of the prototype file for the first stage boot program.
+The name of the prototype file for the first stage boot program.
.It Ar rawdev
-the name of the raw device in which the first-stage boot program
+The name of the raw device in which the first-stage boot program
is to be installed.
This should correspond to the block device on which the file system containing
.Ar boot
@@ -75,8 +74,8 @@ is mounted.
.El
.Sh EXAMPLES
.Bd -literal
-cp /usr/mdec/bootsd /boot
-/usr/mdec/installboot /boot /usr/mdec/bootxx /dev/rsd0a
+# cp /usr/mdec/bootsd /boot
+# /usr/mdec/installboot /boot /usr/mdec/bootxx /dev/rsd0a
.Ed
.Sh SEE ALSO
.Xr disklabel 8 ,
diff --git a/sys/arch/mvme68k/stand/installboot/installboot.c b/sys/arch/mvme68k/stand/installboot/installboot.c
index 91bb3438e9a..32bafbed74f 100644
--- a/sys/arch/mvme68k/stand/installboot/installboot.c
+++ b/sys/arch/mvme68k/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.16 2012/12/31 21:35:32 miod Exp $ */
+/* $OpenBSD: installboot.c,v 1.17 2013/09/29 21:30:49 jmc Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -80,7 +80,7 @@ static void
usage(void)
{
fprintf(stderr,
- "usage: installboot [-n] [-v] [-h] <boot> <proto> <device>\n");
+ "usage: installboot [-nv] boot bootxx rawdev\n");
exit(1);
}