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 02:42:14 +0300
committeropfl <openthefrog@gmail.com>2014-11-03 02:42:14 +0300
commitd29808e4e9e953d84978f7f3c2900d82ac7b41b8 (patch)
tree74717951e1bd6c0360c5fc89c6ecf53dbdd33ecb /bin
parent24bb2fde23343bc55f87e6f7dbfc3bec70329db9 (diff)
changed command to out
Diffstat (limited to 'bin')
-rwxr-xr-xbin/cmd.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/bin/cmd.js b/bin/cmd.js
index fcc8612..e52b257 100755
--- a/bin/cmd.js
+++ b/bin/cmd.js
@@ -30,7 +30,7 @@ var argv = minimist(process.argv.slice(2), {
i: 'index',
n: 'no-quit',
r: 'remove',
- d: 'download',
+ o: 'out',
q: 'quiet',
h: 'help',
v: 'version'
@@ -95,7 +95,7 @@ if (argv.help || !torrentId) {
-i, --index stream a particular file from torrnet (by index)
-n, --no-quit do not quit webtorrent on vlc exit
-r, --remove remove downloaded files on exit
- -d, --download [path] overrides the default tmp directory
+ -o, --out [path] overrides the default tmp directory
-q, --quiet silence stdout
-h, --help display this help message
-v, --version print the current version
@@ -156,7 +156,7 @@ function remove (cb) {
client.destroy(cb)
}
-var torrent = client.add(torrentId, (argv.download ? { tmp: argv.download } : {}))
+var torrent = client.add(torrentId, (argv.out ? { tmp: argv.out } : {}))
torrent.on('infoHash', function () {
function updateMetadata () {