Fixed wget docs to match new filename extraction

This commit is contained in:
David Humphrey (:humph) david.humphrey@senecacollege.ca 2014-03-28 10:57:18 -04:00
parent 9725f0a412
commit 670b84eba9
1 changed files with 1 additions and 1 deletions

View File

@ -1343,7 +1343,7 @@ sh.mkdirp('/test/mkdirp', function(err) {
#### sh.wget(url, [options], callback)<a name="wget"></a>
Downloads the file at `url` and saves it to the filesystem.
The file is saved to a file named with the current date/time
The file is saved to a file named with the filename portion of the url
unless the `options.filename` is present, in which case that
filename is used instead. The callback receives `(error, path)`,
where `path` is the full path to the downloaded file.