diff options
author | mischief <mischief@offblast.org> | 2014-03-22 23:28:42 -0700 |
---|---|---|
committer | mischief <mischief@offblast.org> | 2014-03-22 23:28:42 -0700 |
commit | a710914b36db4d52ce557dab98b3208c9af95667 (patch) | |
tree | cc38f1929e00d768540a51da250596bab83947ba /sys | |
parent | 0d080855b2a1b8095f2a7d4c6f649685d20e3c42 (diff) |
hget: add the -v option to produce progress on stderr, like old hget
Diffstat (limited to 'sys')
-rw-r--r-- | sys/man/1/hget | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/sys/man/1/hget b/sys/man/1/hget index a8671369d..6857015bb 100644 --- a/sys/man/1/hget +++ b/sys/man/1/hget @@ -22,6 +22,8 @@ hget, hpost, webpaste, urlencode \- retrieve, post to a web page corresponding t ] [ .B -b .I baseurl +] [ +.B -v ] .I url .PP @@ -124,6 +126,15 @@ Option .B -m overrides the HTTP method used for the request. .PP +Option +.B -v +causes +.I hget +to emit download status on file descriptor 2, +suitable for use with +.I aux/statusbar . +See EXAMPLES. +.PP .I Hpost retrieves the web page specified by the URL .I url, @@ -201,6 +212,16 @@ Download a file from the web. % hget http://9front.org/img/nix-on.jpg >/tmp/nix-on.jpg .EE .PP +Use +.I hget +in conjuncton with aux/statusbar to monitor progress. +.IP +.EX +hget -v -o 9front.iso.bz2 \\ + http://www.r-36.net/9front/9front.iso.bz2 \\ + |[2] aux/statusbar '9front.iso.bz2' +.EE +.PP Retrieve the commands needed to submit a form, which may then be edited and sent. .IP |