Skip to content

Commit c83bdc1

Browse files
authored
fix: updates help message for --retryWrites option MONGOSH-1150 (#1238)
1 parent f6b5fb3 commit c83bdc1

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ variable. For detailed instructions for each of our supported platforms, please
3939
--nodb Don't connect to mongod on startup - no 'db address' [arg] expected
4040
--norc Will not run the '.mongoshrc.js' file on start up
4141
--eval [arg] Evaluate javascript
42-
--retryWrites Automatically retry write operations upon transient network errors
42+
--retryWrites=[true|false] Automatically retry write operations upon transient network errors (Default: true)
4343
4444
Authentication Options:
4545

packages/cli-repl/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ CLI interface for [MongoDB Shell][mongosh], an extension to Node.js REPL with Mo
2121
--nodb Don't connect to mongod on startup - no 'db address' [arg] expected
2222
--norc Will not run the '.mongoshrc.js' file on start up
2323
--eval [arg] Evaluate javascript
24-
--retryWrites Automatically retry write operations upon transient network errors
24+
--retryWrites=[true|false] Automatically retry write operations upon transient network errors (Default: true)
2525
2626
Authentication Options:
2727

packages/i18n/src/locales/en_US.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ const translations: Catalog = {
2222
nodb: "Don't connect to mongod on startup - no 'db address' [arg] expected",
2323
norc: "Will not run the '.mongoshrc.js' file on start up",
2424
eval: 'Evaluate javascript',
25-
retryWrites: 'Automatically retry write operations upon transient network errors',
25+
retryWrites: 'Automatically retry write operations upon transient network errors (Default: true)',
2626
authenticationOptions: 'Authentication Options:',
2727
username: 'Username for authentication',
2828
password: 'Password for authentication',

0 commit comments

Comments
 (0)