remove -k argument as it is currently for both sessionkey and apikey
parent
b466acd881
commit
971853ca58
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue