mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 16:06:16 -04:00
Fetch credentials arg from CLI
This commit is contained in:
parent
12cb8e0dc1
commit
d72d79ea82
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…
Add table
Add a link
Reference in a new issue