main.c: Need to explicitly disallow show_progress in -q

This commit is contained in:
Darshit Shah 2015-03-02 21:40:57 +05:30
parent bf868e8840
commit 9dde436dd6
1 changed files with 3 additions and 0 deletions

View File

@ -1272,6 +1272,9 @@ main (int argc, char **argv)
if (opt.verbose == -1)
opt.verbose = !opt.quiet;
if (opt.quiet && opt.show_progress == -1)
opt.show_progress = false;
/* Sanity checks. */
if (opt.verbose && opt.quiet)
{