progress bar: Allow display on stderr alongwith -o

This commit causes the --show-progress option to print the progress bar
to stderr even when a logfile was explicitly provided on the command
line. Such a combination allows a user to log the output of Wget while
simultaneously keeping track of the download status.
This commit is contained in:
Darshit Shah
2015-01-18 15:18:14 +05:30
committed by Tim Ruehsen
parent a7e9a05a89
commit 8705e27e20
7 changed files with 42 additions and 10 deletions

View File

@@ -774,12 +774,15 @@ use @samp{--progress=bar:force:noscroll}.
Force wget to display the progress bar in any verbosity.
By default, wget only displays the progress bar in verbose mode. One may
however want wget to display the progress bar on screen in conjunction with
however, want wget to display the progress bar on screen in conjunction with
any other verbosity modes like @samp{--no-verbose} or @samp{--quiet}. This
is often a desired a property when invoking wget to download several small/large
files. In such a case, wget could simply be invoked with this parameter to get
a much cleaner output on the screen.
This option will also force the progress bar to be printed to @file{stderr} when
used alongside the @samp{--logfile} option.
@item -N
@itemx --timestamping
Turn on time-stamping. @xref{Time-Stamping}, for details.