From fc8e9883bef8058723a38f6c8db6549ad611a633 Mon Sep 17 00:00:00 2001 From: Benjamin Peterson Date: Sun, 13 Apr 2014 19:52:14 -0400 Subject: correct sphinx mark up for cmdline options (closes #21210) --- Doc/library/json.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Doc/library/json.rst b/Doc/library/json.rst index 1d55787..d6bdd8a 100644 --- a/Doc/library/json.rst +++ b/Doc/library/json.rst @@ -590,7 +590,7 @@ specified, :attr:`sys.stdin` and :attr:`sys.stdout` will be used respectively:: Command line options ^^^^^^^^^^^^^^^^^^^^ -.. cmdoption:: [] +.. cmdoption:: infile The JSON file to be validated or pretty-printed:: @@ -606,7 +606,9 @@ Command line options } ] -.. cmdoption:: [] + 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`. -- cgit v0.12