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.