Add a -v(erbose) flag to undo our -q(uiet) default.

This commit is contained in:
obrien 2003-03-18 19:46:55 +00:00
parent d18eb82da5
commit 501b002069
2 changed files with 10 additions and 0 deletions

View File

@ -41,6 +41,9 @@ dhclient - Dynamic Host Configuration Protocol Client
.B -q
]
[
.B -v
]
[
.B -1
]
[
@ -204,6 +207,10 @@ facility. The
.B -q
flag prevents any messages other than errors from being printed to the
standard error descriptor.
.B -v
flag turns on all messages.
Opposite of
.B -q .
.PP
The client normally doesn't release the current lease as it is not
required by the DHCP protocol. Some cable ISPs require their clients

View File

@ -185,6 +185,9 @@ int main (argc, argv, envp)
} else if (!strcmp (argv [i], "-q")) {
quiet = 1;
quiet_interface_discovery = 1;
} else if (!strcmp (argv [i], "-v")) {
quiet = 0;
quiet_interface_discovery = 0;
} else if (!strcmp (argv [i], "-s")) {
if (++i == argc)
usage ();