remove -k argument as it is currently for both sessionkey and apikey

This commit is contained in:
Michael Braun 2018-04-04 14:02:25 +02:00 committed by muxator
parent b466acd881
commit 971853ca58

View file

@ -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;
}