diff options
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | bin/build.js | 2 | ||||
-rw-r--r-- | lib/generate/plugin.js | 2 |
3 files changed, 3 insertions, 3 deletions
@@ -36,7 +36,7 @@ Options for commands `build` and `serve` are: -o, --output <directory> Path to output directory, defaults to ./_book -f, --format <name> Change generation format, defaults to site, availables are: site, page, pdf, json --githubHost <url> The url of the github host (defaults to https://github.com/) ---plugins <plugins> List of plugins to use separated by ":" +--plugins <plugins> List of plugins to use separated by "," --pluginsConfig <json file> JSON File containing plugins configuration ``` diff --git a/bin/build.js b/bin/build.js index 5948fe3..6f90e1d 100644 --- a/bin/build.js +++ b/bin/build.js @@ -14,7 +14,7 @@ var buildCommand = function(command) { .option('-f, --format <name>', 'Change generation format, defaults to site, availables are: '+_.keys(generators).join(", ")) .option('-t, --title <name>', 'Name of the book to generate, default is extracted from readme') .option('-i, --intro <intro>', 'Description of the book to generate, default is extracted from readme') - .option('--plugins <plugins>', 'List of plugins to use separated by ":"') + .option('--plugins <plugins>', 'List of plugins to use separated by ","') .option('--pluginsConfig <json file>', 'JSON File containing plugins configuration') .option('-g, --github <repo_path>', 'ID of github repo like : username/repo') .option('--githubHost <url>', 'The url of the github host (defaults to https://github.com/'); diff --git a/lib/generate/plugin.js b/lib/generate/plugin.js index cd85402..5bd332b 100644 --- a/lib/generate/plugin.js +++ b/lib/generate/plugin.js @@ -131,7 +131,7 @@ Plugin.fromList = function(names) { return plugin; }); - if (_.size(failed) > 0) return Q.reject(new Error("Error loading plugins: "+failed.join(":"))); + if (_.size(failed) > 0) return Q.reject(new Error("Error loading plugins: "+failed.join(","))); // Get all resources var resources = _.chain(RESOURCES) |