[CFR] bootpd manpage enhancements

Peter Pentchev roam at ringlet.net
Sat Feb 7 23:31:21 UTC 2004


Hi,

The attached patch does several things to the bootpd(8) manpage:
- makes the interaction between -i and -s explicit;
- sorts the options taking arguments in the synopsis;
- documents the -h hostname option, which seems to have been present
  ever since rev. 1.1 of bootpd.c.

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at sbnd.net    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
.siht ekil ti gnidaer eb d'uoy ,werbeH ni erew ecnetnes siht fI

Index: src/libexec/bootpd/bootpd.8
===================================================================
RCS file: /home/ncvs/src/libexec/bootpd/bootpd.8,v
retrieving revision 1.17
diff -u -r1.17 bootpd.8
--- src/libexec/bootpd/bootpd.8	13 Aug 2002 16:07:25 -0000	1.17
+++ src/libexec/bootpd/bootpd.8	7 Feb 2004 23:28:37 -0000
@@ -10,20 +10,20 @@
 .Nd Internet Boot Protocol server/gateway
 .Sh SYNOPSIS
 .Nm
-.Op Fl i
-.Op Fl s
-.Op Fl t Ar timeout
-.Op Fl d Ar level
+.Op Fl i | Fl s
 .Op Fl c Ar chdir-path
+.Op Fl d Ar level
+.Op Fl h Ar hostname
+.Op Fl t Ar timeout
 .Oo
 .Ar bootptab
 .Op Ar dumpfile
 .Oc
 .Nm bootpgw
-.Op Fl i
-.Op Fl s
-.Op Fl t Ar timeout
+.Op Fl i | Fl s
 .Op Fl d Ar level
+.Op Fl h Ar hostname
+.Op Fl t Ar timeout
 .Ar server
 .Sh DESCRIPTION
 The
@@ -138,6 +138,14 @@
 .Pa /tftpboot ) .
 This option is not recognized by
 .Nm bootpgw .
+.It Fl h
+.Ar hostname
+Specify the hostname corresponding to the IP address to listen on.
+By default,
+.Nm
+listens on the IP address corresponding to the machine's hostname, as
+returned by
+.Xr gethostname 3 .
 .It Fl i
 Force inetd mode.  This option is obsolete, but remains for
 compatibility with older versions of
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-doc/attachments/20040208/ce319cdb/attachment.sig>


More information about the freebsd-doc mailing list