correct sphinx mark up for cmdline options (closes #21210)

This commit is contained in:
Benjamin Peterson 2014-04-13 19:52:14 -04:00
parent 3d794fb240
commit fc8e9883be

View file

@ -590,7 +590,7 @@ specified, :attr:`sys.stdin` and :attr:`sys.stdout` will be used respectively::
Command line options Command line options
^^^^^^^^^^^^^^^^^^^^ ^^^^^^^^^^^^^^^^^^^^
.. cmdoption:: [<infile>] .. cmdoption:: infile
The JSON file to be validated or pretty-printed:: 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 Write the output of the *infile* to the given *outfile*. Otherwise, write it
to :attr:`sys.stdout`. to :attr:`sys.stdout`.