diff options
author | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-09-02 19:13:19 +0000 |
---|---|---|
committer | Michael Shalayeff <mickey@cvs.openbsd.org> | 1997-09-02 19:13:19 +0000 |
commit | bb61bacac42a245017122a6a54d61b4ff8a30ea2 (patch) | |
tree | 61408b05a7b02eec63920728c03e3ff7ded98915 /sys/arch/i386/stand | |
parent | ecfa99a7a95ad310f3c23d407c08aca22da15424 (diff) |
sync usage() to man
Diffstat (limited to 'sys/arch/i386/stand')
-rw-r--r-- | sys/arch/i386/stand/installboot/installboot.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/arch/i386/stand/installboot/installboot.c b/sys/arch/i386/stand/installboot/installboot.c index 67a1671f624..17bfadbd413 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.8 1997/08/30 02:13:48 mickey Exp $ */ +/* $OpenBSD: installboot.c,v 1.9 1997/09/02 19:13:18 mickey Exp $ */ /* $NetBSD: installboot.c,v 1.5 1995/11/17 23:23:50 gwr Exp $ */ /* @@ -58,6 +58,7 @@ #include <unistd.h> #include <util.h> +extern char *__progname; int verbose, nowrite, heads, nsectors; char *boot, *proto, *dev, *realdev; struct nlist nl[] = { @@ -86,8 +87,8 @@ static int record_block static void usage() { - fprintf(stderr, - "usage: installboot [-n] [-v] <boot> <proto> <device>\n"); + fprintf(stderr, "usage: %s [-n] [-v] [-s <spt>] [-h <tpc>] " + "<boot> <proto> <device>\n", __progname); exit(1); } |