mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-08 03:02:03 +01:00
Merge pull request #3214 from patrickeasters/add_credentials_arg
Add credentials arg to CLI module
This commit is contained in:
commit
3e5d71ad5a
1 changed files with 5 additions and 0 deletions
|
@ -34,5 +34,10 @@ for ( var i = 0; i < argv.length; i++ ) {
|
||||||
exports.argv.settings = arg;
|
exports.argv.settings = arg;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Override location of credentials.json file
|
||||||
|
if ( prevArg == '--credentials' ) {
|
||||||
|
exports.argv.credentials = arg;
|
||||||
|
}
|
||||||
|
|
||||||
prevArg = arg;
|
prevArg = arg;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue