From f8194a286e4e42c3cdffd0ba1ef47eeae297f3b0 Mon Sep 17 00:00:00 2001 From: Leonardo Rossi Date: Thu, 17 Mar 2022 10:11:39 +0100 Subject: [PATCH 1/4] nit: updates help message for --retryWrites option --- README.md | 2 +- packages/cli-repl/README.md | 2 +- packages/i18n/src/locales/en_US.ts | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 7078f78cce..28e967f746 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ variable. For detailed instructions for each of our supported platforms, please --nodb Don't connect to mongod on startup - no 'db address' [arg] expected --norc Will not run the '.mongoshrc.js' file on start up --eval [arg] Evaluate javascript - --retryWrites Automatically retry write operations upon transient network errors + --retryWrites [true|false] Automatically retry write operations upon transient network errors (Default: true) Authentication Options: diff --git a/packages/cli-repl/README.md b/packages/cli-repl/README.md index 6c6ceb22ef..a132f7dbe6 100644 --- a/packages/cli-repl/README.md +++ b/packages/cli-repl/README.md @@ -21,7 +21,7 @@ CLI interface for [MongoDB Shell][mongosh], an extension to Node.js REPL with Mo --nodb Don't connect to mongod on startup - no 'db address' [arg] expected --norc Will not run the '.mongoshrc.js' file on start up --eval [arg] Evaluate javascript - --retryWrites Automatically retry write operations upon transient network errors + --retryWrites [true|fa;se] Automatically retry write operations upon transient network errors (Default: true) Authentication Options: diff --git a/packages/i18n/src/locales/en_US.ts b/packages/i18n/src/locales/en_US.ts index ed0be3d782..e7246d0900 100644 --- a/packages/i18n/src/locales/en_US.ts +++ b/packages/i18n/src/locales/en_US.ts @@ -22,7 +22,7 @@ const translations: Catalog = { nodb: "Don't connect to mongod on startup - no 'db address' [arg] expected", norc: "Will not run the '.mongoshrc.js' file on start up", eval: 'Evaluate javascript', - retryWrites: 'Automatically retry write operations upon transient network errors', + retryWrites: 'Automatically retry write operations upon transient network errors (Default: true)', authenticationOptions: 'Authentication Options:', username: 'Username for authentication', password: 'Password for authentication', From 58effc54679c468e0b8b0fcd9bac19d85dfb1907 Mon Sep 17 00:00:00 2001 From: Leonardo Rossi Date: Thu, 17 Mar 2022 11:43:18 +0100 Subject: [PATCH 2/4] Update packages/cli-repl/README.md Co-authored-by: Anna Henningsen --- packages/cli-repl/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli-repl/README.md b/packages/cli-repl/README.md index a132f7dbe6..50bd253bba 100644 --- a/packages/cli-repl/README.md +++ b/packages/cli-repl/README.md @@ -21,7 +21,7 @@ CLI interface for [MongoDB Shell][mongosh], an extension to Node.js REPL with Mo --nodb Don't connect to mongod on startup - no 'db address' [arg] expected --norc Will not run the '.mongoshrc.js' file on start up --eval [arg] Evaluate javascript - --retryWrites [true|fa;se] Automatically retry write operations upon transient network errors (Default: true) + --retryWrites [true|false] Automatically retry write operations upon transient network errors (Default: true) Authentication Options: From a0b3f9eef5edba5e1b2b1eabb9252e869fafc44d Mon Sep 17 00:00:00 2001 From: Leonardo Rossi Date: Thu, 17 Mar 2022 11:44:21 +0100 Subject: [PATCH 3/4] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 28e967f746..1288a4580b 100644 --- a/README.md +++ b/README.md @@ -39,7 +39,7 @@ variable. For detailed instructions for each of our supported platforms, please --nodb Don't connect to mongod on startup - no 'db address' [arg] expected --norc Will not run the '.mongoshrc.js' file on start up --eval [arg] Evaluate javascript - --retryWrites [true|false] Automatically retry write operations upon transient network errors (Default: true) + --retryWrites=[true|false] Automatically retry write operations upon transient network errors (Default: true) Authentication Options: From 3c6798093eaeebe2ef5fb9b2ac002527dbff5d89 Mon Sep 17 00:00:00 2001 From: Leonardo Rossi Date: Thu, 17 Mar 2022 11:44:42 +0100 Subject: [PATCH 4/4] Update README.md --- packages/cli-repl/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/cli-repl/README.md b/packages/cli-repl/README.md index 50bd253bba..a8ae2294d4 100644 --- a/packages/cli-repl/README.md +++ b/packages/cli-repl/README.md @@ -21,7 +21,7 @@ CLI interface for [MongoDB Shell][mongosh], an extension to Node.js REPL with Mo --nodb Don't connect to mongod on startup - no 'db address' [arg] expected --norc Will not run the '.mongoshrc.js' file on start up --eval [arg] Evaluate javascript - --retryWrites [true|false] Automatically retry write operations upon transient network errors (Default: true) + --retryWrites=[true|false] Automatically retry write operations upon transient network errors (Default: true) Authentication Options: