mirror of
https://github.com/python/cpython.git
synced 2025-11-25 21:11:09 +00:00
correct sphinx mark up for cmdline options (closes #21210)
This commit is contained in:
parent
3d794fb240
commit
fc8e9883be
1 changed files with 4 additions and 2 deletions
|
|
@ -590,7 +590,7 @@ specified, :attr:`sys.stdin` and :attr:`sys.stdout` will be used respectively::
|
|||
Command line options
|
||||
^^^^^^^^^^^^^^^^^^^^
|
||||
|
||||
.. cmdoption:: [<infile>]
|
||||
.. cmdoption:: infile
|
||||
|
||||
The JSON file to be validated or pretty-printed::
|
||||
|
||||
|
|
@ -606,7 +606,9 @@ Command line options
|
|||
}
|
||||
]
|
||||
|
||||
.. cmdoption:: [<outfile>]
|
||||
If *infile* is not specified, read from :attr:`sys.stdin`.
|
||||
|
||||
.. cmdoption:: outfile
|
||||
|
||||
Write the output of the *infile* to the given *outfile*. Otherwise, write it
|
||||
to :attr:`sys.stdout`.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue