From 14c584ab8ee045fdf34624490412af97ebbf3259 Mon Sep 17 00:00:00 2001 From: David Humphrey Date: Thu, 15 May 2014 11:48:47 -0400 Subject: [PATCH] Update README.md Fix outdated wget file naming docs missed when we landed the new wget stuff. --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 159af7b..c7a3633 100644 --- a/README.md +++ b/README.md @@ -1358,11 +1358,11 @@ Example: // Download the file at /files/file.json sh.wget('/files/file.json', function(err, path) { if(err) throw err; - // /file-134134513 is now saved to the fs + // /file.json is now saved to the fs }); // Download the file at /files/file.json, specifying a filename -sh.wget('/files/file.json', {filename: 'file.json'}, function(err, path) { +sh.wget('/data?id=17', {filename: 'file.json'}, function(err, path) { if(err) throw err; // /file.json is now saved to the fs });