Skip to content

Commit 22c5f8c

Browse files
committed
DOCS-524 -- fix the accidental combination of padding bytes and factor
1 parent b7ca8e2 commit 22c5f8c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

source/reference/command/compact.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -55,13 +55,13 @@ compact
5555

5656
.. versionadded:: v2.2
5757

58-
The following example runs the :dbcommand:`compact`
59-
command with the ``paddingBytes`` set to ``100`` bytes and the
58+
Using the following command, you can use the compact command with
59+
the ``paddingBytes`` option set to ``100`` bytes and the
6060
``paddingFactor`` set to ``1.1``.
6161

62-
.. code-block:: javascript
62+
.. code-block:: javascript
6363

64-
db.runCommand ( { compact: 'collection name', paddingBytes: 100, paddingFactor: 1.1 } )
64+
db.runCommand ( { compact: 'collection name', paddingBytes: 100, paddingFactor: 1.1 } )
6565

6666
.. warning::
6767

0 commit comments

Comments
 (0)