usage updates
This commit is contained in:
@ -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"
|
||||
}
|
||||
});
|
||||
|
||||
|
@ -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,
|
||||
|
@ -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",
|
||||
|
Reference in New Issue
Block a user