summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-31 21:10:10 +0000
committerAlexander Yurchenko <grange@cvs.openbsd.org>2009-01-31 21:10:10 +0000
commitee44d0e5c6d8926dcab0936606f936ede44fcdae (patch)
treec9dc1471496a18ab8aa72e8b48607656a7023b1a
parent007413a399f1a3cbfc6d642e7a8fbc55cd4274a0 (diff)
Rename loadpoint to loadaddr and add to usage().
suggestion and ok from kettenis@
-rw-r--r--sys/arch/socppc/stand/mkboot/mkboot.810
-rw-r--r--sys/arch/socppc/stand/mkboot/mkboot.c4
2 files changed, 7 insertions, 7 deletions
diff --git a/sys/arch/socppc/stand/mkboot/mkboot.8 b/sys/arch/socppc/stand/mkboot/mkboot.8
index de1818cd252..08dd6664950 100644
--- a/sys/arch/socppc/stand/mkboot/mkboot.8
+++ b/sys/arch/socppc/stand/mkboot/mkboot.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: mkboot.8,v 1.2 2008/05/16 06:39:27 jmc Exp $
+.\" $OpenBSD: mkboot.8,v 1.3 2009/01/31 21:10:09 grange Exp $
.\"
.\" Copyright (c) 2008 Mark Kettenis <kettenis@openbsd.org>
.\"
@@ -14,7 +14,7 @@
.\" ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
.\" OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
.\"
-.Dd $Mdocdate: May 16 2008 $
+.Dd $Mdocdate: January 31 2009 $
.Dt MKBOOT 8 socppc
.Os
.Sh NAME
@@ -23,7 +23,7 @@
.Sh SYNOPSIS
.Nm mkboot
.Op Fl e Ar entry
-.Op Fl l Ar loadpoint
+.Op Fl l Ar loadaddr
.Ar infile outfile
.Sh DESCRIPTION
The
@@ -35,9 +35,9 @@ The options are as follows:
.It Fl e Ar entry
Sets the entry point to
.Ar entry .
-.It Fl l Ar loadpoint
+.It Fl l Ar loadaddr
Sets the load address to
-.Ar loadpoint .
+.Ar loadaddr .
.El
.Sh HISTORY
A
diff --git a/sys/arch/socppc/stand/mkboot/mkboot.c b/sys/arch/socppc/stand/mkboot/mkboot.c
index 5de5e756ada..55bf01935c4 100644
--- a/sys/arch/socppc/stand/mkboot/mkboot.c
+++ b/sys/arch/socppc/stand/mkboot/mkboot.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mkboot.c,v 1.1 2008/05/15 21:32:20 kettenis Exp $ */
+/* $OpenBSD: mkboot.c,v 1.2 2009/01/31 21:10:09 grange Exp $ */
/*
* Copyright (c) 2008 Mark Kettenis
@@ -140,6 +140,6 @@ void
usage(void)
{
(void)fprintf(stderr,
- "usage: %s infile outfile\n", __progname);
+ "usage: %s [-e entry] [-l loadaddr] infile outfile\n", __progname);
exit(1);
}