From 75644e1ec9c06c6ef43e27c349c6adfa3503e3f3 Mon Sep 17 00:00:00 2001 From: Scott Bell Date: Tue, 13 Feb 2024 12:50:01 +0100 Subject: [PATCH] fix help --- src/plugins/persistence/couch/scripts/deleteAnnotations.js | 2 +- src/plugins/persistence/couch/scripts/upsert.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/plugins/persistence/couch/scripts/deleteAnnotations.js b/src/plugins/persistence/couch/scripts/deleteAnnotations.js index c98ee7105d..8a2f94e12f 100755 --- a/src/plugins/persistence/couch/scripts/deleteAnnotations.js +++ b/src/plugins/persistence/couch/scripts/deleteAnnotations.js @@ -77,7 +77,7 @@ function processArguments() { switch (val) { case '--help': console.info( - 'Usage: deleteAnnotations.js [--annotationType type] [--dbName name] \nFor authentication, set the environment variables COUCHDB_USERNAME and COUCHDB_PASSWORD. \n' + 'Usage: deleteAnnotations.js [--annotationType type] [--dbName name] [--serverUrl url] [--debug] \nFor authentication, set the environment variables COUCHDB_USERNAME and COUCHDB_PASSWORD. \n' ); console.info('Annotation types: ', Object.keys(ANNOTATION_TYPES).join(', ')); helpRequested = true; diff --git a/src/plugins/persistence/couch/scripts/upsert.js b/src/plugins/persistence/couch/scripts/upsert.js index 586bfaa687..6c41518675 100755 --- a/src/plugins/persistence/couch/scripts/upsert.js +++ b/src/plugins/persistence/couch/scripts/upsert.js @@ -55,7 +55,7 @@ function processArguments() { switch (val) { case '--help': console.log( - 'Usage: restore.js [--backupFilename pathToBackupJSON] [--dbName name] [--debug] \nFor authentication, set the environment variables COUCHDB_USERNAME and COUCHDB_PASSWORD. \n' + 'Usage: restore.js [--backupFilename pathToBackupJSON] [--dbName name] [--serverUrl url] [--debug] \nFor authentication, set the environment variables COUCHDB_USERNAME and COUCHDB_PASSWORD. \n' ); helpRequested = true; break;