From c4dc19b074cb17082e6564bd4371e703960e30de Mon Sep 17 00:00:00 2001 From: Lloyd Brookes Date: Thu, 9 Jul 2015 09:38:37 +0100 Subject: [PATCH] usage updates --- bin/ws.js | 4 ++-- lib/cli-options.js | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/bin/ws.js b/bin/ws.js index a9b976e..128dbc7 100755 --- a/bin/ws.js +++ b/bin/ws.js @@ -20,7 +20,7 @@ var cliOptions = require("../lib/cli-options"); var cli = cliArgs(cliOptions); var usage = cli.getUsage({ title: "local-web-server", - header: "Lightweight static web server, zero configuration.", + description: "Lightweight static web server, zero configuration.", footer: "Project home: https://github.com/75lb/local-web-server", forms: [ "$ ws ", @@ -29,7 +29,7 @@ var usage = cli.getUsage({ ], groups: { server: "Server", - misc: "Server" + misc: "Misc" } }); diff --git a/lib/cli-options.js b/lib/cli-options.js index dd317ed..aadc80b 100644 --- a/lib/cli-options.js +++ b/lib/cli-options.js @@ -13,7 +13,7 @@ module.exports = [ }, { name: "compress", alias: "c", type: Boolean, - description: "Enables compression", group: "server" + description: "Enable gzip compression, reduces bandwidth.", group: "server" }, { name: "refresh-rate", alias: "r", type: Number, diff --git a/package.json b/package.json index 0f96717..5c12884 100644 --- a/package.json +++ b/package.json @@ -15,7 +15,7 @@ "repository": "https://github.com/75lb/local-web-server", "author": "Lloyd Brookes", "dependencies": { - "command-line-args": "^1", + "command-line-args": "^1.0.0-0", "compression": "^1.0.2", "config-master": "^1", "connect": "^3.0.0",