Skip to content

Commit fe0c4be

Browse files
committed
docs: a little refactoring of the recent xml doc change
1 parent bf3e96a commit fe0c4be

File tree

1 file changed

+7
-7
lines changed

1 file changed

+7
-7
lines changed

doc/cmd.rst

+7-7
Original file line numberDiff line numberDiff line change
@@ -488,6 +488,8 @@ compatible with `Cobertura`_.
488488

489489
You can specify the name of the output file with the ``-o`` switch.
490490

491+
Other common reporting options are described above in :ref:`cmd_reporting`.
492+
491493
To include complete file paths in the output file, rather than just
492494
the file name, use [include] vs [source] in your ".coveragerc" file.
493495

@@ -505,9 +507,9 @@ which will result in
505507

506508
.. code:: xml
507509
508-
<class branch-rate="0" complexity="0" filename="bar/hello.py" line-rate="1" name="hello.py">
509-
<class branch-rate="0" complexity="0" filename="bar/baz/hello.py" line-rate="1" name="hello.py">
510-
<class branch-rate="0" complexity="0" filename="foo/hello.py" line-rate="1" name="hello.py">
510+
<class filename="bar/hello.py">
511+
<class filename="bar/baz/hello.py">
512+
<class filename="foo/hello.py">
511513
512514
in place of this:
513515

@@ -522,12 +524,10 @@ which may result in
522524

523525
.. code:: xml
524526
525-
<class branch-rate="0" complexity="0" filename="hello.py" line-rate="1" name="hello.py">
526-
<class branch-rate="0" complexity="0" filename="baz/hello.py" line-rate="1" name="hello.py">
527+
<class filename="hello.py">
528+
<class filename="baz/hello.py">
527529
528530
529-
Other common reporting options are described above in :ref:`cmd_reporting`.
530-
531531
532532
.. _cmd_json:
533533

0 commit comments

Comments
 (0)