mirror of
https://github.com/mirror/wget.git
synced 2025-03-28 21:10:20 +08:00
main.c: Need to explicitly disallow show_progress in -q
This commit is contained in:
parent
bf868e8840
commit
9dde436dd6
@ -1272,6 +1272,9 @@ main (int argc, char **argv)
|
|||||||
if (opt.verbose == -1)
|
if (opt.verbose == -1)
|
||||||
opt.verbose = !opt.quiet;
|
opt.verbose = !opt.quiet;
|
||||||
|
|
||||||
|
if (opt.quiet && opt.show_progress == -1)
|
||||||
|
opt.show_progress = false;
|
||||||
|
|
||||||
/* Sanity checks. */
|
/* Sanity checks. */
|
||||||
if (opt.verbose && opt.quiet)
|
if (opt.verbose && opt.quiet)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user