Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/webtorrent/webtorrent.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authoropfl <openthefrog@gmail.com>2014-11-03 01:16:59 +0300
committeropfl <openthefrog@gmail.com>2014-11-03 01:16:59 +0300
commit24bb2fde23343bc55f87e6f7dbfc3bec70329db9 (patch)
tree1cc579d6f84a3d032ac03d58fa98eac036c6f195 /bin
parentec54ffff77ccdc213de132476de26795ea4ac47f (diff)
Changed command name to download
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cmd.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index 24e130d..fcc8612 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -156,7 +156,7 @@ function remove (cb) {
client.destroy(cb)
}
-var torrent = client.add(torrentId, (argv.default ? { tmp: argv.default } : {}))
+var torrent = client.add(torrentId, (argv.download ? { tmp: argv.download } : {}))
torrent.on('infoHash', function () {
function updateMetadata () {