var express = require('express');
var app = express();

var argv = require('minimist')(process.argv.slice(2));

app.get('/', function (req, res) {
  res.send(argv.service + ' service');
});

var server = app.listen(argv.port, argv.address, function() {
  var address = server.address(),
    host = address.address,
    port = address.port;



  console.log(argv.service + ' service listening at http://%s:%s', host, port);
});

@@ -105,16 +105,36 @@
 e(2));%0A%0A
+console.log(argv);%0A%0A
 app.get(
@@ -244,23 +244,20 @@
 t, argv.
-address
+host
 , functi
@@ -325,16 +325,16 @@
 ddress,%0A
+
     port
@@ -351,18 +351,16 @@
 .port;%0A%0A
-%0A%0A
   consol

change command line parameters from address to host