bpo-35167: Specify program for gzip and json.tool command line options. (GH-10332)

This commit is contained in:
Serhiy Storchaka 2018-11-05 17:47:27 +02:00 committed by GitHub
parent 34fd4c2019
commit 083a7a172b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 6 additions and 0 deletions

View File

@ -211,6 +211,9 @@ Example of how to GZIP compress a binary string::
The basic data compression module needed to support the :program:`gzip` file
format.
.. program:: gzip
Command Line Interface
----------------------

View 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
^^^^^^^^^^^^^^^^^^^^