Skip to content

Commit 732dd5d

Browse files
authored
feat(cli-repl): add help for quiet and verbose MONGOSH-581 (#830)
Added description for --quiet and --verbose in shell help.
1 parent 6f6ccde commit 732dd5d

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

packages/cli-repl/src/constants.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,8 @@ export const USAGE = `
2222
--host [arg] ${i18n.__('cli-repl.args.host')}
2323
--port [arg] ${i18n.__('cli-repl.args.port')}
2424
--version ${i18n.__('cli-repl.args.version')}
25+
--verbose ${i18n.__('cli-repl.args.verbose')}
26+
--quiet ${i18n.__('cli-repl.args.quiet')}
2527
--shell ${i18n.__('cli-repl.args.shell')}
2628
--nodb ${i18n.__('cli-repl.args.nodb')}
2729
--norc ${i18n.__('cli-repl.args.norc')}

packages/i18n/src/locales/en_US.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,8 @@ const translations: Catalog = {
1515
host: 'Server to connect to',
1616
port: 'Port to connect to',
1717
version: 'Show version information',
18+
verbose: 'Increase the verbosity of the output of the shell',
19+
quiet: 'Silence output from the shell during the connection process',
1820
shell: 'Run the shell after executing files',
1921
nodb: "Don't connect to mongod on startup - no 'db address' [arg] expected",
2022
norc: "Will not run the '.mongoshrc.js' file on start up",

0 commit comments

Comments
 (0)