diff --git a/lib/core/environment.js b/lib/core/environment.js
index <HASH>..<HASH> 100644
--- a/lib/core/environment.js
+++ b/lib/core/environment.js
@@ -57,8 +57,8 @@ exports.getConfig = function (platform, env, project_dir, argv) {
   }
 
   // option to configure custom ports
-  if (argv.hasOwnProperty('custom_ports')) {
-    var c_ports = argv['custom_ports'].split(',').reduce(function (memo, port) {
+  if (argv.hasOwnProperty('custom-ports')) {
+    var c_ports = argv['custom-ports'].split(',').reduce(function (memo, port) {
       port = parseInt(port, 10);
       if (port > 0) {
         memo.push(port);
@@ -138,7 +138,7 @@ exports.getConfig = function (platform, env, project_dir, argv) {
     });
   }
 
-  if (!process.env.COUCH_URL && !argv.hasOwnProperty('custom_ports')) {
+  if (!process.env.COUCH_URL && !argv.hasOwnProperty('custom-ports')) {
     cfg.couch.port = ports.getPort(cfg.id + '-couch');
   }
fix(custom-ports): unify on `custom-ports`

* * *

This commit was sponsored by The Hoodie Firm.
You can hire The Hoodie Firm:
<URL>