diff --git a/contrib/isc-dhcp/client/dhclient.c b/contrib/isc-dhcp/client/dhclient.c index a4f0b356ceb9..9ca6e25fb7ca 100644 --- a/contrib/isc-dhcp/client/dhclient.c +++ b/contrib/isc-dhcp/client/dhclient.c @@ -295,8 +295,8 @@ static void usage (appname) note (url); note (""); - warn ("Usage: %s [-c] [-p ] [-lf lease-file]", appname); - error (" [-pf pidfile] [-1] [interface]"); + warn ("Usage: %s [-D] [-d] [-p ] [-lf lease-file]", appname); + error (" [-pf pidfile] [-q] [-1] [interface]"); } void cleanup () @@ -1181,7 +1181,7 @@ void state_panic (ipp) tell the shell script that we failed to allocate an address, and try again later. */ if (onetry) { - exit(1); + exit(2); note ("Unable to obtain a lease on first try - exiting.\n"); } note ("No working leases in persistent database - sleeping.\n");