summaryrefslogtreecommitdiffstats
path: root/lib/index.js
diff options
context:
space:
mode:
authorSamy Pessé <samypesse@gmail.com>2015-01-29 18:41:51 +0100
committerSamy Pessé <samypesse@gmail.com>2015-01-29 18:41:51 +0100
commit5b23dd8ffd668df8064655c74aef12f171fd6239 (patch)
treecec963cd5e94ebb8ba5f0b6200072840c2e1a63c /lib/index.js
parent5fc0c6b507cdeadca710ce3810a886b2eaed52e9 (diff)
downloadgitbook-5b23dd8ffd668df8064655c74aef12f171fd6239.zip
gitbook-5b23dd8ffd668df8064655c74aef12f171fd6239.tar.gz
gitbook-5b23dd8ffd668df8064655c74aef12f171fd6239.tar.bz2
Fix ebook commands
Diffstat (limited to 'lib/index.js')
-rw-r--r--lib/index.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/index.js b/lib/index.js
index 26a47d5..e91211f 100644
--- a/lib/index.js
+++ b/lib/index.js
@@ -71,7 +71,7 @@ module.exports = {
var output = args[1];
var book = new Book(input, _.extend({}, {
- 'logLevel': Book.LOG_LEVELS[(kwargs.log).toUpperCase()]
+ 'logLevel': kwargs.log
}));
return book.parse()