From 42573b12c6ad390625161394119a98aba5e03533 Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Sun, 9 Feb 2014 08:19:26 +0100 Subject: [PATCH] fix broken link --- README.md | 2 +- ws.js | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 572eaa1..aafcc49 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,7 @@ $ ws --port 9000 serving at http://localhost:9000 ``` -Use a built-in or custom [Connect logger format](http://www.senchalabs.org/connect/middleware-logger.html) with `--log-format`: +Use a built-in or custom [Connect logger format](http://www.senchalabs.org/connect/logger.html) with `--log-format`: ```sh $ ws --log-format short ``` diff --git a/ws.js b/ws.js index 07599e8..89b81eb 100755 --- a/ws.js +++ b/ws.js @@ -10,7 +10,7 @@ function halt(message){ console.log(wodge.red("Error ") + message); console.log(usage); process.exit(1); -} + var options = new Thing() .define({ name: "port", alias: "p", type: "number", defaultOption: true, value: 8000 }) @@ -55,9 +55,3 @@ if (!options.valid){ process.stderr.write("serving at http://localhost:" + options.port + "\n"); } - -// open several sites with one command $ ws project1:8000 project2:8100 -// store port in package.json, e.g. "ws-port": 9000 -// ws -a to open a whole slew of sites stored in json -// ws -o to open in default browser -// ch, ff, op, sa, ca etc. to open in specific browser