Commit fc8e9883 authored by Benjamin Peterson's avatar Benjamin Peterson

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

parent 3d794fb2
......@@ -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`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment