summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason McIntyre <jmc@cvs.openbsd.org>2007-02-18 20:33:46 +0000
committerJason McIntyre <jmc@cvs.openbsd.org>2007-02-18 20:33:46 +0000
commitc42f79c134e1d98f6da092751eb1b71d0d0193b4 (patch)
tree90b31e840669ddbeb9e7b12f7f51ca838f937c5b
parent48933357e12780484db6b3b29f33e5255a1267b9 (diff)
sync usage() and synopsis; spotted by Igor Sobrado
-rw-r--r--usr.sbin/rpc.bootparamd/bootparamd.c4
-rw-r--r--usr.sbin/rpc.bootparamd/rpc.bootparamd.825
2 files changed, 16 insertions, 13 deletions
diff --git a/usr.sbin/rpc.bootparamd/bootparamd.c b/usr.sbin/rpc.bootparamd/bootparamd.c
index aa58ed7349d..ecc596baff8 100644
--- a/usr.sbin/rpc.bootparamd/bootparamd.c
+++ b/usr.sbin/rpc.bootparamd/bootparamd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bootparamd.c,v 1.17 2003/12/25 19:05:09 deraadt Exp $ */
+/* $OpenBSD: bootparamd.c,v 1.18 2007/02/18 20:33:45 jmc Exp $ */
/*
* This code is not copyright, and is placed in the public domain.
@@ -58,7 +58,7 @@ static void
usage(void)
{
extern char *__progname;
- fprintf(stderr, "usage: %s [-d] [-s] [-r router] [-f bootparamsfile]\n",
+ fprintf(stderr, "usage: %s [-ds] [-f file] [-r router]\n",
__progname);
exit(1);
}
diff --git a/usr.sbin/rpc.bootparamd/rpc.bootparamd.8 b/usr.sbin/rpc.bootparamd/rpc.bootparamd.8
index 65af5e2df13..7024cf85846 100644
--- a/usr.sbin/rpc.bootparamd/rpc.bootparamd.8
+++ b/usr.sbin/rpc.bootparamd/rpc.bootparamd.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: rpc.bootparamd.8,v 1.16 2003/06/12 12:59:52 jmc Exp $
+.\" $OpenBSD: rpc.bootparamd.8,v 1.17 2007/02/18 20:33:45 jmc Exp $
.\" @(#)bootparamd.8
.\"
.\" This code is not copyright, and is placed in the public domain.
@@ -17,10 +17,9 @@
.Nd boot parameter server
.Sh SYNOPSIS
.Nm rpc.bootparamd
-.Op Fl d
-.Op Fl s
-.Op Fl r Ar router
+.Op Fl ds
.Op Fl f Ar file
+.Op Fl r Ar router
.Sh DESCRIPTION
.Nm
is a server process that provides information to diskless clients
@@ -49,15 +48,19 @@ The options are as follows:
.It Fl d
Display the debugging information.
The daemon does not fork in this case.
-.It Fl s
-Log the debugging information with syslog.
-.It Fl r
-Set the default router (a hostname or IP address).
-This defaults to the machine running the server.
-.It Fl f
-Specify the file to read boot parameters from.
+.It Fl f Ar file
+Specify the
+.Ar file
+to read boot parameters from.
Defaults to
.Pa /etc/bootparams .
+.It Fl r Ar router
+Set the default
+.Ar router
+(a hostname or IP address).
+This defaults to the machine running the server.
+.It Fl s
+Log the debugging information with syslog.
.El
.Sh FILES
.Bl -tag -width /etc/bootparams -compact