Adds documentation for default port and host.

This commit is contained in:
Michael Bleigh
2015-10-02 11:33:03 -07:00
parent 577f4fdee7
commit 3c991f89e4

View File

@@ -9,8 +9,8 @@ var logger = require('../lib/logger');
module.exports = new Command('serve')
.description('start a local server for your static assets')
.option('-p, --port <port>', 'the port on which to listen', 5000)
.option('-o, --host <host>', 'the host on which to listen', 'localhost')
.option('-p, --port <port>', 'the port on which to listen (default: 5000)', 5000)
.option('-o, --host <host>', 'the host on which to listen (default: localhost)', 'localhost')
.action(function(options) {
var config = Config.load(options);