]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
doc: update list of formats for --format flag for "ceph pg dump" 32373/head
authorZac Dover <zac.dover@gmail.com>
Mon, 23 Dec 2019 12:00:39 +0000 (22:00 +1000)
committerZac Dover <zac.dover@gmail.com>
Mon, 23 Dec 2019 12:00:39 +0000 (22:00 +1000)
This incorporates Neha's suggestion that the list of formats
be made complete everywhere it appears in the document.

Signed-off-by: Zac Dover <zac.dover@gmail.com>
doc/rados/operations/control.rst

index 9e9d66a55dcf0441c50f493747afff8cce5aee0d..aca0192ee8e9b568589b527ff3231b9ac4e5f9e8 100644 (file)
@@ -60,7 +60,7 @@ To display the statistics for all placement groups, execute the following::
 
        ceph pg dump [--format {format}]
 
-The valid formats are ``plain`` (default) and ``json``.
+The valid formats are ``plain`` (default), ``json`` ``json-pretty``, ``xml``, and ``xml-pretty``.
 
 To display the statistics for all placement groups stuck in a specified state, 
 execute the following:: 
@@ -110,8 +110,9 @@ The foregoing functionally equivalent to ::
        ceph osd getmap -o /tmp/osdmap
        osdmaptool /tmp/osdmap --export-crush file
 
-Dump the OSD map. Valid formats for ``-f`` are ``plain`` and ``json``. If no
-``--format`` option is given, the OSD map is dumped as plain text. ::
+Dump the OSD map. Valid formats for ``-f`` are ``plain``, ``json``, ``json-pretty``,
+``xml``, and ``xml-pretty``. If no ``--format`` option is given, the OSD map is 
+dumped as plain text. ::
 
        ceph osd dump [--format {format}]