]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.7] bpo-35167: Specify program for json.tool command line options. (GH-10332) ...
authorSerhiy Storchaka <storchaka@gmail.com>
Mon, 5 Nov 2018 16:44:08 +0000 (18:44 +0200)
committerGitHub <noreply@github.com>
Mon, 5 Nov 2018 16:44:08 +0000 (18:44 +0200)
(cherry picked from commit 083a7a172b8c8888252d72031f21dcfea3c0d73f)

Doc/library/json.rst

index 8ce493d63995d415bc79a80a90ca734369a5c778..510e30733fed0a6f1d88109817c0b02a48630f69 100644 (file)
@@ -648,7 +648,9 @@ when serializing Python :class:`int` values of extremely large magnitude, or
 when serializing instances of "exotic" numerical types such as
 :class:`decimal.Decimal`.
 
+
 .. _json-commandline:
+.. program:: json.tool
 
 Command Line Interface
 ----------------------
@@ -680,6 +682,7 @@ specified, :attr:`sys.stdin` and :attr:`sys.stdout` will be used respectively:
    :option:`--sort-keys` option to sort the output of dictionaries
    alphabetically by key.
 
+
 Command line options
 ^^^^^^^^^^^^^^^^^^^^