Skip to content

Commit

Permalink
Add help for --build-info
Browse files Browse the repository at this point in the history
  • Loading branch information
lerouxb committed Nov 6, 2023
1 parent 908e587 commit e3fa6b9
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ variable. For detailed instructions for each of our supported platforms, please
-f, --file [arg] Load the specified mongosh script
--host [arg] Server to connect to
--port [arg] Port to connect to
--build-info Show build information
--version Show version information
--quiet Silence output from the shell during the connection process
--shell Run the shell after executing files
Expand Down
1 change: 1 addition & 0 deletions packages/cli-repl/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ CLI interface for [MongoDB Shell][mongosh], an extension to Node.js REPL with Mo
-f, --file [arg] Load the specified mongosh script
--host [arg] Server to connect to
--port [arg] Port to connect to
--build-info Show build information
--version Show version information
--quiet Silence output from the shell during the connection process
--shell Run the shell after executing files
Expand Down
3 changes: 3 additions & 0 deletions packages/cli-repl/src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,9 @@ export const USAGE = `
-f, --file [arg] ${i18n.__('cli-repl.args.file')}
--host [arg] ${i18n.__('cli-repl.args.host')}
--port [arg] ${i18n.__('cli-repl.args.port')}
--build-info ${i18n.__(
'cli-repl.args.buildInfo'
)}
--version ${i18n.__(
'cli-repl.args.version'
)}
Expand Down
1 change: 1 addition & 0 deletions packages/i18n/src/locales/en_US.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ const translations: Catalog = {
ipv6: 'Enable IPv6 support (disabled by default)',
host: 'Server to connect to',
port: 'Port to connect to',
buildInfo: 'Show build information',
version: 'Show version information',
quiet: 'Silence output from the shell during the connection process',
shell: 'Run the shell after executing files',
Expand Down

0 comments on commit e3fa6b9

Please sign in to comment.