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:
parent
daa949b66e
commit
ae573770aa
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=112383
@ -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
|
||||
|
@ -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 ();
|
||||
|
Loading…
Reference in New Issue
Block a user