summaryrefslogtreecommitdiffstats
path: root/Doc/library/json.rst
diff options
context:
space:
mode:
authorDaniel Himmelstein <daniel.himmelstein@gmail.com>2019-12-07 14:14:40 (GMT)
committerInada Naoki <songofacandy@gmail.com>2019-12-07 14:14:40 (GMT)
commit15fb7fa88187f5841088721a43609bffe64a8dc7 (patch)
treedf7fccd740a6002f7dcffdeed1ecff9c910c9582 /Doc/library/json.rst
parent4443450fdaf248427cf4a00a6ee36229e6402ec6 (diff)
downloadcpython-15fb7fa88187f5841088721a43609bffe64a8dc7.zip
cpython-15fb7fa88187f5841088721a43609bffe64a8dc7.tar.gz
cpython-15fb7fa88187f5841088721a43609bffe64a8dc7.tar.bz2
bpo-29636: json.tool: Add document for indentation options. (GH-17482)
And updated test to use subprocess.run
Diffstat (limited to 'Doc/library/json.rst')
-rw-r--r--Doc/library/json.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/json.rst b/Doc/library/json.rst
index 573ec1c..cfe68c9 100644
--- a/Doc/library/json.rst
+++ b/Doc/library/json.rst
@@ -744,6 +744,12 @@ Command line options
.. versionadded:: 3.8
+.. cmdoption:: --indent, --tab, --no-indent, --compact
+
+ Mutually exclusive options for whitespace control
+
+ .. versionadded:: 3.9
+
.. cmdoption:: -h, --help
Show the help message.