Skip to content

Commit 5c7fed7

Browse files
indentation fixups (#12)
1 parent c9efeee commit 5c7fed7

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

source/connect.txt

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ To specify a remote host and port, use a
6262
To connect to a MongoDB
6363
instance running on a remote host machine on port 28015:
6464

65-
.. code-block:: sh
65+
.. code-block:: sh
6666

67-
mongosh "mongodb://mongodb0.example.com:28015"
67+
mongosh "mongodb://mongodb0.example.com:28015"
6868

6969
.. note:: Connecting to |service|
7070

@@ -82,19 +82,19 @@ To connect to a MongoDB instance requires authentication, use the
8282
``--username`` and ``--authenticationDatabase`` command-line options.
8383
``mongosh`` prompts you for a password, which it masks as you type.
8484

85-
.. example::
85+
.. example::
8686

87-
To connect to a remote MongoDB instance and authenticate against
88-
the ``admin`` database as user ``alice``:
87+
To connect to a remote MongoDB instance and authenticate against
88+
the ``admin`` database as user ``alice``:
8989

90-
.. code-block:: sh
90+
.. code-block:: sh
9191

92-
mongosh "mongodb://mongodb0.example.com:28015" --username alice --authenticationDatabase admin
92+
mongosh "mongodb://mongodb0.example.com:28015" --username alice --authenticationDatabase admin
9393

94-
.. note::
94+
.. note::
9595

96-
To provide a password with the command instead of using the masked
97-
prompt, you can use the ``--password`` option.
96+
To provide a password with the command instead of using the masked
97+
prompt, you can use the ``--password`` option.
9898

9999
.. seealso::
100100

0 commit comments

Comments
 (0)