diff --git a/bin/cmd.js b/bin/cmd.js index e1020a4..56b1ff4 100755 --- a/bin/cmd.js +++ b/bin/cmd.js @@ -302,15 +302,15 @@ async function runDownload (torrentId) { announce: argv.announce }) + if ('select' in argv) { + torrent.so = argv.select.toString() + } + if (argv.verbose) { torrent.on('warning', handleWarning) } torrent.on('infoHash', () => { - if ('select' in argv) { - torrent.so = argv.select.toString() - } - if (argv.quiet) return updateMetadata()