summaryrefslogtreecommitdiff
path: root/src/node
diff options
context:
space:
mode:
Diffstat (limited to 'src/node')
-rw-r--r--src/node/utils/Cli.js5
1 files changed, 5 insertions, 0 deletions
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;
}