Browse Source

usage updates

master
Lloyd Brookes 10 years ago
parent
commit
c4dc19b074
  1. 4
      bin/ws.js
  2. 2
      lib/cli-options.js
  3. 2
      package.json

4
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 <server options>",
@ -29,7 +29,7 @@ var usage = cli.getUsage({
],
groups: {
server: "Server",
misc: "Server"
misc: "Misc"
}
});

2
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,

2
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",

Loading…
Cancel
Save