From 3fe6bb1d8c3fe1bd375fe8a4d08706cadfb55e42 Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Sun, 9 Feb 2014 08:30:11 +0100 Subject: [PATCH] only one defaultOption should be defined --- ws.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ws.js b/ws.js index 06ee567..fbbac3c 100755 --- a/ws.js +++ b/ws.js @@ -16,7 +16,7 @@ var options = new Thing() .define({ name: "port", alias: "p", type: "number", defaultOption: true, value: 8000 }) .define({ name: "log-format", alias: "f", type: "string", value: "dev" }) .define({ name: "help", alias: "h", type: "boolean" }) - .define({ name: "directory", alias: "d", type: "string", defaultOption: true, value: process.cwd()}) + .define({ name: "directory", alias: "d", type: "string", value: process.cwd() }) .on("error", function(err){ halt(err.message); })