diff --git a/src/node/utils/Cli.js b/src/node/utils/Cli.js index 0c7947e9..9419ed26 100644 --- a/src/node/utils/Cli.js +++ b/src/node/utils/Cli.js @@ -34,5 +34,10 @@ for ( var i = 0; i < argv.length; i++ ) { exports.argv.settings = arg; } + // Override location of credentials.json file + if ( prevArg == '--credentials' ) { + exports.argv.credentials = arg; + } + prevArg = arg; }