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

pull/3437/head
Michael Braun 2018-04-04 14:02:25 +02:00 committed by muxator
parent b466acd881
commit 971853ca58
1 changed files with 2 additions and 2 deletions

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