summaryrefslogtreecommitdiffstats
path: root/contrib/isc-dhcp
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-07-20 09:16:30 +0000
committerobrien <obrien@FreeBSD.org>2000-07-20 09:16:30 +0000
commitd19be973db65e2d34b3c8c3f9aac3e6f6f19aab1 (patch)
tree60b527e4027d06b772b96c4693c99e677c53ed7a /contrib/isc-dhcp
parent145f71945d245c592d771bd0138510d7bcb43f1a (diff)
downloadFreeBSD-src-d19be973db65e2d34b3c8c3f9aac3e6f6f19aab1.zip
FreeBSD-src-d19be973db65e2d34b3c8c3f9aac3e6f6f19aab1.tar.gz
Add yet more options to usage() that the author did not document.
Diffstat (limited to 'contrib/isc-dhcp')
-rw-r--r--contrib/isc-dhcp/client/dhclient.814
-rw-r--r--contrib/isc-dhcp/client/dhclient.c4
2 files changed, 16 insertions, 2 deletions
diff --git a/contrib/isc-dhcp/client/dhclient.8 b/contrib/isc-dhcp/client/dhclient.8
index 096b106..6cdc063 100644
--- a/contrib/isc-dhcp/client/dhclient.8
+++ b/contrib/isc-dhcp/client/dhclient.8
@@ -35,6 +35,11 @@
.\" Enterprises. To learn more about the Internet Software Consortium,
.\" see ``http://www.isc.org/isc''. To learn more about Vixie
.\" Enterprises, see ``http://www.vix.com''.
+.\"
+.\" Portions copyright (c) 2000 David E. O'Brien.
+.\" All rights reserved.
+.\" $FreeBSD$
+.\"
.TH dhclient 8
.SH NAME
dhclient - Dynamic Host Configuration Protocol Client
@@ -44,6 +49,10 @@ dhclient - Dynamic Host Configuration Protocol Client
.B -Ddq1
]
[
+.B -cf
+.I config-file
+]
+[
.B -lf
.I lease-file
]
@@ -159,6 +168,11 @@ flag - if you wish to use alternate port numbers, you must configure
any relay agents you are using to use the same alternate port numbers.
.PP
The
+.B -cf
+flag may be used to change the shell script from the default of
+/sbin/dhclient-script.
+.PP
+The
.B -lf
flag may be used to change the lease output file from the default of
/var/db/dhclient.leases.
diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c
index f47e47a..7fb1f14 100644
--- a/contrib/isc-dhcp/client/dhclient.c
+++ b/contrib/isc-dhcp/client/dhclient.c
@@ -301,8 +301,8 @@ static void usage (appname)
note (url);
note ("");
- warn ("Usage: %s [-D] [-d] [-p <port>] [-lf lease-file]", appname);
- error (" [-pf pidfile] [-q] [-1] [interface]");
+ warn ("Usage: %s [-D] [-d] [-p <port>] [-cf conf-file]", appname);
+ error (" [-lf lease-file] [-pf pidfile] [-q] [-1] [interface]");
}
void cleanup ()
OpenPOWER on IntegriCloud