summaryrefslogtreecommitdiffstats
path: root/lib/index.js
diff options
context:
space:
mode:
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()