diff --git a/source/reference/command/compact.txt b/source/reference/command/compact.txt index d5b2e24aa01..86f781e6754 100644 --- a/source/reference/command/compact.txt +++ b/source/reference/command/compact.txt @@ -55,13 +55,13 @@ compact .. versionadded:: v2.2 - The following example runs the :dbcommand:`compact` - command with the ``paddingBytes`` set to ``100`` bytes and the + Using the following command, you can use the compact command with + the ``paddingBytes`` option set to ``100`` bytes and the ``paddingFactor`` set to ``1.1``. - .. code-block:: javascript + .. code-block:: javascript - db.runCommand ( { compact: 'collection name', paddingBytes: 100, paddingFactor: 1.1 } ) + db.runCommand ( { compact: 'collection name', paddingBytes: 100, paddingFactor: 1.1 } ) .. warning::