Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions source/includes/options-mongo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -188,6 +188,9 @@ inherit:
name: authenticationDatabase
program: _shared
file: options-shared.yaml
post: |
If you do not specify a value for {{role}}, {{program}} uses the database
specified in the connection string.
---
program: mongo
name: authenticationMechanism
Expand Down
3 changes: 3 additions & 0 deletions source/includes/options-mongostat.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,9 @@ inherit:
name: authenticationDatabase
program: _shared
file: options-shared.yaml
post: |
{{role}} is required for :program:`mongod`
and :program:`mongos` instances that use :ref:`authentication`.
---
program: mongostat
name: authenticationMechanism
Expand Down
3 changes: 3 additions & 0 deletions source/includes/options-mongotop.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,9 @@ inherit:
name: authenticationDatabase
program: _shared
file: options-shared.yaml
post: |
{{role}} is required for :program:`mongod`
and :program:`mongos` instances that use :ref:`authentication`.
---
program: mongotop
name: authenticationMechanism
Expand Down
7 changes: 1 addition & 6 deletions source/includes/options-shared.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -247,15 +247,10 @@ program: _shared
name: authenticationDatabase
args: <dbname>
directive: option
pre: |
description: |
.. versionadded:: 2.4

Specifies the database that holds the user's credentials.
description: |
If you do not
specify an authentication database, {{program}} assumes that the
database specified as the argument to {{role}} holds
the user's credentials.
optional: true
---
program: _shared
Expand Down