From b930e952e7c06cbee9ecb13724a48f081ada4c40 Mon Sep 17 00:00:00 2001 From: Daniel Miller Date: Wed, 8 Jul 2015 13:56:45 -0400 Subject: [PATCH] Fix moduleName (and other options?) being lost --- lib/cli.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli.js b/lib/cli.js index 4bd502528..19e705329 100755 --- a/lib/cli.js +++ b/lib/cli.js @@ -139,7 +139,7 @@ cli.generateParserString = function generateParserString(opts, grammar) { opts = opts || {}; var jison = require('./jison.js'); - var settings = grammar.options || {}; + var settings = grammar.options || opts; if (opts['parser-type']) { settings.type = opts['parser-type'];