diff options
author | jmc <jmc@openbsd.org> | 2007-02-18 20:33:45 +0000 |
---|---|---|
committer | jmc <jmc@openbsd.org> | 2007-02-18 20:33:45 +0000 |
commit | 0320ee96169164b08092f3435318a55ddb19b4da (patch) | |
tree | c700dd338aa48644d29cca63bb92e9c4aaf956cc /usr.sbin/rpc.bootparamd | |
parent | oops, let synopsis and usage agree; (diff) | |
download | wireguard-openbsd-0320ee96169164b08092f3435318a55ddb19b4da.tar.xz wireguard-openbsd-0320ee96169164b08092f3435318a55ddb19b4da.zip |
sync usage() and synopsis; spotted by Igor Sobrado
Diffstat (limited to 'usr.sbin/rpc.bootparamd')
-rw-r--r-- | usr.sbin/rpc.bootparamd/bootparamd.c | 4 | ||||
-rw-r--r-- | usr.sbin/rpc.bootparamd/rpc.bootparamd.8 | 25 |
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 |