Browse Source

update --rewrite option description

master
Lloyd Brookes 9 years ago
parent
commit
d8e3cd0737
  1. 2
      lib/cli-options.js

2
lib/cli-options.js

@ -26,7 +26,7 @@ module.exports = {
}, },
{ {
name: 'rewrite', alias: 'r', type: String, multiple: true, typeLabel: '[underline]{expression} ...', name: 'rewrite', alias: 'r', type: String, multiple: true, typeLabel: '[underline]{expression} ...',
description: "A list of URL rewrite rules, e.g. '/from -> /to'", group: 'server'
description: "A list of URL rewrite rules. For each rule, separate the 'from' and 'to' routes with '->'. Whitespace surrounded the routes is ignored. E.g. '/from -> /to'", group: 'server'
}, },
{ {
name: 'spa', alias: 's', type: String, typeLabel: '[underline]{file}', name: 'spa', alias: 's', type: String, typeLabel: '[underline]{file}',

Loading…
Cancel
Save