Re: [PATCH 1/2] wget: add -o flag

2018-12-26 Thread Kang-Che Sung
On Wednesday, December 26, 2018, Martin Lewis wrote: > [...] > @@ -147,6 +148,7 @@ > //usage: "\n -T SEC Network read timeout is SEC seconds" > //usage: ) > //usage: "\n -O FILE Save to FILE ('-' for stdout)" > +//usage: "\n -o FILE

[PATCH 1/2] wget: add -o flag

2018-12-26 Thread Martin Lewis
Signed-off-by: Martin Lewis --- networking/wget.c | 28 +--- 1 file changed, 25 insertions(+), 3 deletions(-) diff --git a/networking/wget.c b/networking/wget.c index 58a51d9..8da0ce8 100644 --- a/networking/wget.c +++ b/networking/wget.c @@ -128,9 +128,10 @@ /*

[PATCH 2/2] wget: notify on download begin and end

2018-12-26 Thread Martin Lewis
When using -o to file the progress meter is not displayed, so write that we started the download and that we finished it. Signed-off-by: Martin Lewis --- networking/wget.c | 8 1 file changed, 8 insertions(+) diff --git a/networking/wget.c b/networking/wget.c index 8da0ce8..914221c