summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-11 15:36:45 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1998-03-11 15:36:45 +0000
commitb81973f175db7d3f4c763069b191dd57f4bd83d3 (patch)
tree0a488db49a436ad9f42dcb270f880a1c06571aa3
parentb83be0c862b94052a1c925b983a597a1981b2630 (diff)
make usage message much prettier
-rw-r--r--sys/arch/i386/stand/installboot/installboot.810
-rw-r--r--sys/arch/i386/stand/installboot/installboot.c6
2 files changed, 8 insertions, 8 deletions
diff --git a/sys/arch/i386/stand/installboot/installboot.8 b/sys/arch/i386/stand/installboot/installboot.8
index f595adf66d0..617adbbc03a 100644
--- a/sys/arch/i386/stand/installboot/installboot.8
+++ b/sys/arch/i386/stand/installboot/installboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: installboot.8,v 1.12 1997/10/07 08:09:31 deraadt Exp $
+.\" $OpenBSD: installboot.8,v 1.13 1998/03/11 15:36:42 deraadt Exp $
.\"
.\" Copyright (c) 1997 Michael Shalayeff
.\" All rights reserved.
@@ -40,8 +40,8 @@
.Nm installboot
.Op Fl n
.Op Fl v
-.Oo Fl s Ar spt Oc
-.Oo Fl h Ar tpc Oc
+.Oo Fl s Ar sectors-per-track Oc
+.Oo Fl h Ar tracks-per-cyl Oc
.Ar boot
.Ar biosboot
.Ar disk
@@ -63,7 +63,7 @@ Be verbose, printing out the CHS (Cylinder, Head, Sector)
triples that are stored in
.Ar biosboot
along with lots of other information.
-.It Fl s Ar spt
+.It Fl s Ar sectors-per-track
Used to specify the sectors-per-track value if the drive has
sector translation activated, and
.Nm
@@ -72,7 +72,7 @@ is unable to determine the translated geometry.
If not specified, this defaults to the value retrieved from the BIOS
at boot time, available via
.Xr sysctl 8 .
-.It Fl h Ar tpc
+.It Fl h Ar tracks-per-cyl
Used to specify the tracks-per-cylinder value if the drive has
sector translation activated, and
.Nm
diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c
index 1c8cd2b8807..a342806b3ae 100644
--- a/sys/arch/i386/stand/installboot/installboot.c
+++ b/sys/arch/i386/stand/installboot/installboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: installboot.c,v 1.27 1998/03/01 21:58:12 weingart Exp $ */
+/* $OpenBSD: installboot.c,v 1.28 1998/03/11 15:36:44 deraadt Exp $ */
/* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */
/*
@@ -87,8 +87,8 @@ static int record_block
static void
usage()
{
- fprintf(stderr, "usage: %s [-n] [-v] [-s <spt>] [-h <tpc>] "
- "<boot> <proto> <device>\n", __progname);
+ fprintf(stderr, "usage: %s [-n] [-v] [-s sec-per-track] [-h track-per-cyl] "
+ "boot biosboot device\n", __progname);
exit(1);
}