Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Couple of changes to cmd.js #600

Closed
wants to merge 12 commits into from

Fixed --client-port dictionary keys.

Signed-off-by: Vincent Frentzel <vincent@frentzel.eu>
  • Loading branch information
Vincent Frentzel
Vincent Frentzel committed Feb 7, 2016
commit 01ad416afc7671187b02d1c07be9c1f3994ec8c8
@@ -74,7 +74,7 @@ var argv = minimist(process.argv.slice(2), {
],
default: {
port: 8000,
client-port: 6881
'client-port': 6881
}
})

@@ -268,7 +268,7 @@ function runDownload (torrentId) {
}

client = new WebTorrent({ blocklist: argv.blocklist,
torrentPort: argv.client-port })
torrentPort: argv.['client-port'] })

client.on('error', fatalError)

@@ -485,7 +485,7 @@ function runSeed (input) {
}

client = new WebTorrent({ blocklist: argv.blocklist,
torrentPort: argv.client-port })
torrentPort: argv.['client-port'] })

client.on('error', fatalError)

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.