From 0361b7f093b1922fc506b2110c0352bd8f346419 Mon Sep 17 00:00:00 2001 From: Paul Asselin Date: Tue, 11 Jul 2017 18:02:10 +0100 Subject: [PATCH] updated copy on cli and readme --- lib/helpMessage.js | 4 ++-- readme.md | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/lib/helpMessage.js b/lib/helpMessage.js index fa28f3e..e00285b 100644 --- a/lib/helpMessage.js +++ b/lib/helpMessage.js @@ -1,11 +1,11 @@ module.exports = function() { - var txt = 'Usage: panini --layouts=[layoutdir] --root=[rootdir] --dest=[destdir] [other options] \'pagesglob\'\n' + + var txt = 'Usage: panini --layouts=[layoutdir] --root=[rootdir] --output=[destdir] [other options] \'pagesglob\'\n' + '\n' + 'Options: \n' + ' --layouts (required) path to a folder containing layouts\n' + ' --root (required) path to the root folder all pages live in\n' + - ' --dest (required) path to the folder compiled pages should get sent to\n' + + ' --output (required) path to the folder compiled pages should get sent to\n' + ' --partials path to root folder for partials \n' + ' --helpers path to folder for additional helpers \n' + ' --data path to folder for additional data \n' + diff --git a/readme.md b/readme.md index d78f86f..e19360f 100644 --- a/readme.md +++ b/readme.md @@ -142,12 +142,12 @@ Lastly, the reserved `page` variable is added to every page template as it rende You can also use panini via the CLI. ``` -Usage: panini --layouts=[layoutdir] --root=[rootdir] --dest=[destdir] [other options] 'pagesglob' +Usage: panini --layouts=[layoutdir] --root=[rootdir] --output=[destdir] [other options] 'pagesglob' Options: --layouts (required) path to a folder containing layouts --root (required) path to the root folder all pages live in - --dest (required) path to the folder compiled pages should get sent to + --output (required) path to the folder compiled pages should get sent to --partials path to root folder for partials --helpers path to folder for additional helpers --data path to folder for additional data