Skip to content

DOCS-942 add show databases as alias to show dbs (delay merge to 2.3.1) #519

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 11, 2013
Merged
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
6 changes: 6 additions & 0 deletions source/reference/mongo-shell-reference.txt
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@ displays some common help methods and commands:
- Show help on collection methods. The ``<collection>`` 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.
Expand Down
4 changes: 3 additions & 1 deletion source/tutorial/access-mongo-shell-help.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
7 changes: 7 additions & 0 deletions source/tutorial/getting-started.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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
~~~~~~~~~~~~~~~~~~~~~~

Expand Down