This commit is contained in:
Scott Bell 2024-02-13 12:50:01 +01:00
parent 2624cc7e6d
commit 75644e1ec9
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ function processArguments() {
switch (val) { switch (val) {
case '--help': case '--help':
console.info( console.info(
'Usage: deleteAnnotations.js [--annotationType type] [--dbName name] <CouchDB URL> \nFor authentication, set the environment variables COUCHDB_USERNAME and COUCHDB_PASSWORD. \n' 'Usage: deleteAnnotations.js [--annotationType type] [--dbName name] [--serverUrl url] [--debug] <CouchDB URL> \nFor authentication, set the environment variables COUCHDB_USERNAME and COUCHDB_PASSWORD. \n'
); );
console.info('Annotation types: ', Object.keys(ANNOTATION_TYPES).join(', ')); console.info('Annotation types: ', Object.keys(ANNOTATION_TYPES).join(', '));
helpRequested = true; helpRequested = true;

View File

@ -55,7 +55,7 @@ function processArguments() {
switch (val) { switch (val) {
case '--help': case '--help':
console.log( console.log(
'Usage: restore.js [--backupFilename pathToBackupJSON] [--dbName name] [--debug] <CouchDB URL> \nFor authentication, set the environment variables COUCHDB_USERNAME and COUCHDB_PASSWORD. \n' 'Usage: restore.js [--backupFilename pathToBackupJSON] [--dbName name] [--serverUrl url] [--debug] <CouchDB URL> \nFor authentication, set the environment variables COUCHDB_USERNAME and COUCHDB_PASSWORD. \n'
); );
helpRequested = true; helpRequested = true;
break; break;