Commit 2bb096d3 authored by Stefan Behnel's avatar Stefan Behnel

only passing "--annotate-coverage" should be enough, don't require "-a" in that case

parent e673f847
......@@ -34,7 +34,7 @@ Options:
-D, --no-docstrings Strip docstrings from the compiled module.
-a, --annotate Produce a colorized HTML version of the source.
--annotate-coverage <cov.xml> Include coverage information from cov.xml in HTML annotation.
--annotate-coverage <cov.xml> Annotate and include coverage information from cov.xml.
--line-directives Produce #line directives pointing to the .pyx source
--cplus Output a C++ rather than C file.
--embed[=<method_name>] Generate a main() function that embeds the Python interpreter.
......@@ -117,6 +117,7 @@ def parse_command_line(args):
elif option in ("-a", "--annotate"):
Options.annotate = True
elif option == "--annotate-coverage":
Options.annotate = True
Options.annotate_coverage_xml = pop_arg()
elif option == "--convert-range":
Options.convert_range = True
......
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