From 670b84eba975d9b3c8599c2b835cbd4f08edc78e Mon Sep 17 00:00:00 2001 From: "David Humphrey (:humph) david.humphrey@senecacollege.ca" Date: Fri, 28 Mar 2014 10:57:18 -0400 Subject: [PATCH] Fixed wget docs to match new filename extraction --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 20027dd..d8e0132 100644 --- a/README.md +++ b/README.md @@ -1343,7 +1343,7 @@ sh.mkdirp('/test/mkdirp', function(err) { #### sh.wget(url, [options], callback) 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.