Minor changes

This commit is contained in:
Mattias Erming 2014-08-26 11:15:17 -07:00
parent 752c4c491b
commit 90cce21e3a
3 changed files with 4 additions and 4 deletions

View File

@ -1,7 +1,7 @@
{
"name": "shout",
"description": "A web IRC client",
"version": "0.12.0",
"version": "0.12.1",
"author": "Mattias Erming",
"preferGlobal": true,
"bin": {

View File

@ -1,4 +1,5 @@
var program = require("commander");
var pkg = require("../../package.json");
require("./start");
require("./config");
@ -7,9 +8,7 @@ require("./add");
require("./remove");
require("./edit");
program
.option("-p, --port <port>")
.parse(process.argv);
program.parse(process.argv);
if (!program.args.length) {
program.parse(process.argv.concat("start"));

View File

@ -4,6 +4,7 @@ var program = require("commander");
var shout = require("../server");
program
.option("-p, --port <port>")
.command("start")
.description("Start the server")
.action(function() {