From 6e5418d9d7d03e0149ea5050f27ba28cdefc1104 Mon Sep 17 00:00:00 2001 From: Ned Batchelder Date: Sat, 31 Aug 2019 07:50:04 -0400 Subject: Tweaks to JSON report docs --- doc/cmd.rst | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'doc/cmd.rst') diff --git a/doc/cmd.rst b/doc/cmd.rst index ad84a6ae..1aca89a8 100644 --- a/doc/cmd.rst +++ b/doc/cmd.rst @@ -477,14 +477,16 @@ You can specify the name of the output file with the ``-o`` switch. Other common reporting options are described above in :ref:`cmd_reporting`. + .. _cmd_json: JSON reporting -------------- +-------------- The **json** command writes coverage data to a "coverage.json" file. -You can specify the name of the output file with the ``-o`` switch. +You can specify the name of the output file with the ``-o`` switch. The JSON +can be nicely formatted by specifying the ``--pretty-print`` switch. Other common reporting options are described above in :ref:`cmd_reporting`. -- cgit v1.2.1