docs.. tidy.. examples.. --rewrite

This commit is contained in:
Lloyd Brookes
2015-11-16 23:02:27 +00:00
parent 89b427e1fa
commit 7a991cc5f7
10 changed files with 31 additions and 31 deletions

View File

@ -6,7 +6,7 @@ module.exports = {
},
{
name: 'log-format', alias: 'f', type: String,
description: "If a format is supplied an access log is written to stdout. If not, a statistics view is displayed. Use a preset ('none', 'dev','combined', 'short', 'tiny' or 'logstalgia') or supply a custom format (e.g. ':method -> :url').", group: 'server'
description: "If a format is supplied an access log is written to stdout. If not, a dynamic statistics view is displayed. Use a preset ('none', 'dev','combined', 'short', 'tiny' or 'logstalgia') or supply a custom format (e.g. ':method -> :url').", group: 'server'
},
{
name: 'directory', alias: 'd', type: String,
@ -34,15 +34,15 @@ module.exports = {
},
{
name: 'config', type: Boolean,
description: 'Print the stored config', group: 'misc'
description: 'Print the config found in [underline]{package.json} and/or [underline]{.local-web-server}', group: 'misc'
}
],
usageData: {
title: 'local-web-server',
description: 'Lightweight static web server, zero configuration.',
description: 'A simple web-server for productive front-end development.',
footer: 'Project home: [underline]{https://github.com/75lb/local-web-server}',
synopsis: [
'$ ws <server options>',
'$ ws [server options]',
'$ ws --config',
'$ ws --help'
],

View File

@ -30,8 +30,6 @@ function localWebServer (options) {
log: {},
compress: false,
forbid: [],
directories: [],
proxyRoutes: [],
rewrite: []
}, options)