diff --git a/src/cli.js b/src/cli.js index 8db470f..a39ff11 100644 --- a/src/cli.js +++ b/src/cli.js @@ -91,7 +91,8 @@ if(program.config){ try{ var configOptions = require(program.config); - helper.extend( program, configOptions ); + helper.extend( program, configOptions, true ); + program.parse(process.argv); }catch(e){ helper.log('Some Error occurs in ' + program.config + '\n' + e.message, 'error')