From bb61bacac42a245017122a6a54d61b4ff8a30ea2 Mon Sep 17 00:00:00 2001 From: Michael Shalayeff Date: Tue, 2 Sep 1997 19:13:19 +0000 Subject: sync usage() to man --- sys/arch/i386/stand/installboot/installboot.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'sys') 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 #include +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] \n"); + fprintf(stderr, "usage: %s [-n] [-v] [-s ] [-h ] " + " \n", __progname); exit(1); } -- cgit v1.2.3