summaryrefslogtreecommitdiffstats
path: root/bin/build.js
diff options
context:
space:
mode:
authorJuho Vepsalainen <bebraw@gmail.com>2014-06-03 15:55:24 +0300
committerJuho Vepsalainen <bebraw@gmail.com>2014-06-03 17:42:30 +0300
commitb6d11d88b78149ee0d235b4f7373caf21115c863 (patch)
tree242b2786cdca2a0d592d1e0bdfab34054ac01bcb /bin/build.js
parentc803270af8c2f7d19de83f2997dbd7fe7675bd54 (diff)
downloadgitbook-b6d11d88b78149ee0d235b4f7373caf21115c863.zip
gitbook-b6d11d88b78149ee0d235b4f7373caf21115c863.tar.gz
gitbook-b6d11d88b78149ee0d235b4f7373caf21115c863.tar.bz2
Allow book.js to be used in addition to book.json
Now it's possible to comment configuration properly and do some dynamic things if needed. Closes #287.
Diffstat (limited to 'bin/build.js')
-rw-r--r--bin/build.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/build.js b/bin/build.js
index 35018cb..4bb6bb4 100644
--- a/bin/build.js
+++ b/bin/build.js
@@ -12,7 +12,7 @@ var buildCommand = function(command) {
return command
.option('-o, --output <directory>', 'Path to output directory, defaults to ./_book')
.option('-f, --format <name>', 'Change generation format, defaults to site, availables are: '+_.keys(generators).join(", "))
- .option('--config <config file>', 'Configuration file to use, defualt to book.json')
+ .option('--config <config file>', 'Configuration file to use, defaults to book.js or book.json')
};