diff --git a/source/reference/mongo-shell-reference.txt b/source/reference/mongo-shell-reference.txt index afe246275d4..db000ba69d0 100644 --- a/source/reference/mongo-shell-reference.txt +++ b/source/reference/mongo-shell-reference.txt @@ -70,6 +70,12 @@ displays some common help methods and commands: - Show help on collection methods. The ```` can be the name of an existing collection or a non-existing collection. + .. versionadded:: 2.3.1 + + * - ``show databases`` + + - Print a list of all databases on the server. + * - ``show dbs`` - Print a list of all databases on the server. diff --git a/source/tutorial/access-mongo-shell-help.txt b/source/tutorial/access-mongo-shell-help.txt index f33b92d101e..7af809337f9 100644 --- a/source/tutorial/access-mongo-shell-help.txt +++ b/source/tutorial/access-mongo-shell-help.txt @@ -43,8 +43,10 @@ To see the list of help, in the :program:`mongo` shell, type ``help``: Database Help ------------- +.. versionchanged:: 2.3.1 + - To see the list of databases on the server, use the ``show dbs`` - command: + or ``show databases`` command: .. code-block:: javascript diff --git a/source/tutorial/getting-started.txt b/source/tutorial/getting-started.txt index 041f3e5a26e..c23250cc928 100644 --- a/source/tutorial/getting-started.txt +++ b/source/tutorial/getting-started.txt @@ -90,6 +90,13 @@ you insert data into that database. The :ref:`getting-started-create-documents` section describes the process for inserting data. +.. versionadded:: 2.3.1 + + .. note:: + + :command:`show databases` will also return a list of databases. + + Display ``mongo`` Help ~~~~~~~~~~~~~~~~~~~~~~