From: Zac Dover Date: Mon, 23 Dec 2019 12:00:39 +0000 (+1000) Subject: doc: update list of formats for --format flag for "ceph pg dump" X-Git-Tag: v15.1.0~100^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=8095be48d136c61a9e35c3c5093e5f09591c4ff9;p=ceph.git doc: update list of formats for --format flag for "ceph pg dump" This incorporates Neha's suggestion that the list of formats be made complete everywhere it appears in the document. Signed-off-by: Zac Dover --- diff --git a/doc/rados/operations/control.rst b/doc/rados/operations/control.rst index 9e9d66a55dcf..aca0192ee8e9 100644 --- a/doc/rados/operations/control.rst +++ b/doc/rados/operations/control.rst @@ -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}]