|
@ -2,8 +2,6 @@ |
|
|
var connect = require('connect'), |
|
|
var connect = require('connect'), |
|
|
Thing = require("nature").Thing; |
|
|
Thing = require("nature").Thing; |
|
|
|
|
|
|
|
|
process.argv.splice(0, 2); |
|
|
|
|
|
|
|
|
|
|
|
var usage = "usage: ws [--port|-p <port>] [--log-format|-p dev|default|short|tiny]"; |
|
|
var usage = "usage: ws [--port|-p <port>] [--log-format|-p dev|default|short|tiny]"; |
|
|
var options = new Thing() |
|
|
var options = new Thing() |
|
|
.define({ name: "port", alias: "p", type: "number", defaultOption: true, default: 8000 }) |
|
|
.define({ name: "port", alias: "p", type: "number", defaultOption: true, default: 8000 }) |
|
|