mirror of https://github.com/python/cpython
bpo-35167: Specify program for gzip and json.tool command line options. (GH-10332)
This commit is contained in:
parent
34fd4c2019
commit
083a7a172b
|
@ -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
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -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
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
|
|
Loading…
Reference in New Issue