Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
2bb096d3
Commit
2bb096d3
authored
Feb 27, 2015
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
only passing "--annotate-coverage" should be enough, don't require "-a" in that case
parent
e673f847
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
Cython/Compiler/CmdLine.py
Cython/Compiler/CmdLine.py
+2
-1
No files found.
Cython/Compiler/CmdLine.py
View file @
2bb096d3
...
@@ -34,7 +34,7 @@ Options:
...
@@ -34,7 +34,7 @@ Options:
-D, --no-docstrings Strip docstrings from the compiled module.
-D, --no-docstrings Strip docstrings from the compiled module.
-a, --annotate Produce a colorized HTML version of the source.
-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
--line-directives Produce #line directives pointing to the .pyx source
--cplus Output a C++ rather than C file.
--cplus Output a C++ rather than C file.
--embed[=<method_name>] Generate a main() function that embeds the Python interpreter.
--embed[=<method_name>] Generate a main() function that embeds the Python interpreter.
...
@@ -117,6 +117,7 @@ def parse_command_line(args):
...
@@ -117,6 +117,7 @@ def parse_command_line(args):
elif
option
in
(
"-a"
,
"--annotate"
):
elif
option
in
(
"-a"
,
"--annotate"
):
Options
.
annotate
=
True
Options
.
annotate
=
True
elif
option
==
"--annotate-coverage"
:
elif
option
==
"--annotate-coverage"
:
Options
.
annotate
=
True
Options
.
annotate_coverage_xml
=
pop_arg
()
Options
.
annotate_coverage_xml
=
pop_arg
()
elif
option
==
"--convert-range"
:
elif
option
==
"--convert-range"
:
Options
.
convert_range
=
True
Options
.
convert_range
=
True
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment