From 971853ca5822092ea5cae361b711f506229e5472 Mon Sep 17 00:00:00 2001 From: Michael Braun Date: Wed, 4 Apr 2018 14:02:25 +0200 Subject: [PATCH] remove -k argument as it is currently for both sessionkey and apikey --- src/node/utils/Cli.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/node/utils/Cli.js b/src/node/utils/Cli.js index 154590dc7..04c532fa0 100644 --- a/src/node/utils/Cli.js +++ b/src/node/utils/Cli.js @@ -40,12 +40,12 @@ for ( var i = 0; i < argv.length; i++ ) { } // Override location of settings.json file - if ( prevArg == '--sessionkey' || prevArg == '-k' ) { + if ( prevArg == '--sessionkey' ) { exports.argv.sessionkey = arg; } // Override location of settings.json file - if ( prevArg == '--apikey' || prevArg == '-k' ) { + if ( prevArg == '--apikey' ) { exports.argv.apikey = arg; }