diff --git a/lib/index.js b/lib/index.js index 26a47d518..e91211f5f 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()