diff --git a/bin/goldilocks.js b/bin/goldilocks.js index ffe8aad..43f6627 100755 --- a/bin/goldilocks.js +++ b/bin/goldilocks.js @@ -202,7 +202,7 @@ var program = require('commander'); program .version(require('../package.json').version) .option('--agree-tos [url1,url2]', "agree to all Terms of Service for Daplie, Let's Encrypt, etc (or specific URLs only)") - .option('-c --config [file]', 'Path to config file (Goldilocks.json or Goldilocks.yml) example: --config /etc/goldilocks/Goldilocks.json') + .option('-c --config ', 'Path to config file (Goldilocks.json or Goldilocks.yml) example: --config /etc/goldilocks/Goldilocks.json') .option('--tunnel [token]', 'Turn tunnel on. This will enter interactive mode for login if no token is specified.') .option('--email ', "(Re)set default email to use for Daplie, Let's Encrypt, ACME, etc.") .option('--debug', "Enable debug output") diff --git a/lib/check-ports.js b/lib/check-ports.js index 1286d4c..f6e6a8e 100644 --- a/lib/check-ports.js +++ b/lib/check-ports.js @@ -86,7 +86,7 @@ function checkUdpPorts(cb) { bound[8053] = true; } - cb(null, bound); + cb(failed, bound); }); }); }