mirror of
https://github.com/thelounge/thelounge
synced 2024-11-26 22:10:22 +00:00
Minor changes
This commit is contained in:
parent
752c4c491b
commit
90cce21e3a
3 changed files with 4 additions and 4 deletions
|
@ -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": {
|
||||
|
|
|
@ -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"));
|
||||
|
|
|
@ -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() {
|
||||
|
|
Loading…
Reference in a new issue