summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--README.md2
-rw-r--r--bin/build.js2
-rw-r--r--lib/generate/plugin.js2
3 files changed, 3 insertions, 3 deletions
diff --git a/README.md b/README.md
index 97cfc92..16cc021 100644
--- a/README.md
+++ b/README.md
@@ -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)