From 6f333a3c848cb8959ffe96445def4c0d5c9135a8 Mon Sep 17 00:00:00 2001 From: Feross Aboukhadijeh Date: Fri, 22 May 2015 16:30:06 +0200 Subject: [PATCH] clarify tracker addresses in command line output For #76 --- bin/cmd.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/cmd.js b/bin/cmd.js index 9ab0ebf..16c4e17 100755 --- a/bin/cmd.js +++ b/bin/cmd.js @@ -91,12 +91,12 @@ server.on('stop', function (addr) { server.listen(argv.port, function () { if (server.http && !argv.quiet) { - console.log('http server listening on ' + server.http.address().port) + console.log('HTTP tracker: http://localhost:' + server.http.address().port + '/announce') } if (server.udp && !argv.quiet) { - console.log('udp server listening on ' + server.udp.address().port) + console.log('UDP tracker: udp://localhost:' + server.udp.address().port) } if (server.ws && !argv.quiet) { - console.log('ws server listening on ' + server.http.address().port) + console.log('WebSocket tracker: ws://localhost:' + server.http.address().port) } })