1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-01 08:27:59 +00:00

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

This commit is contained in:
David E. O'Brien 2003-03-18 19:46:55 +00:00
parent daa949b66e
commit ae573770aa
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112383
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 ();