1- .\" Automatically generated by Pandoc 2.13
1+ .\" Automatically generated by Pandoc 2.17.1.1
22.\"
3- .TH "uncov-gcov" "1" "November 14, 2021" "uncov v0.4" ""
3+ .\" Define V font for inline verbatim, using C font in formats
4+ .\" that render this, and otherwise B font.
5+ .ie " \f[CB] x \f[ ]" x" \{\
6+ . ftr V B
7+ . ftr VI BI
8+ . ftr VB B
9+ . ftr VBI BI
10+ .\}
11+ .el \{\
12+ . ftr V CR
13+ . ftr VI CI
14+ . ftr VB CB
15+ . ftr VBI CBI
16+ .\}
17+ .TH "uncov-gcov" "1" "November 18, 2022" "uncov v0.4" ""
418.hy
519.SH NAME
620.PP
@@ -16,45 +30,45 @@ It might be a good idea to switch to using \[lq]uncov new-gcovi\[rq]
1630subcommand.
1731.SH SYNOPSIS
1832.PP
19- \f[B] uncov-gcov \f[ R ] \f[B] -h| \[ en ] help \f[ R ]
33+ \f[B] uncov-gcov \f[ R ] \f[B] -h|-- help \f[ R ]
2034.PP
21- \f[B] uncov-gcov \f[ R ] \f[B] -v| \[ en ] version \f[ R ]
35+ \f[B] uncov-gcov \f[ R ] \f[B] -v|-- version \f[ R ]
2236.PP
2337\f[B] uncov-gcov \f[ R ] \f[B] [<options> \& ...] \f[ R ]
2438.SH OPTIONS
25- .SS \f[B] \[ en ] help, -h \f[ R ]
39+ .SS \f[B] -- help, -h \f[ R ]
2640.PP
2741Displays short usage help.
28- .SS \f[B] \[ en ] version, -v \f[ R ]
42+ .SS \f[B] -- version, -v \f[ R ]
2943.PP
3044Displays version information.
31- .SS \f[B] \[ en ] verbose \f[ R ]
45+ .SS \f[B] -- verbose\f[ R ]
3246.PP
3347Print verbose messages.
34- .SS \f[B] \[ en ] dryrun \f[ R ]
48+ .SS \f[B] -- dryrun\f[ R ]
3549.PP
3650Run the script without printing report.
37- .SS \f[B] \[ en ] gcov \f[ R ] [=gcov]
51+ .SS \f[B] -- gcov\f[ R ] [=gcov]
3852.PP
3953Set the location of gcov.
40- .SS \f[B] \[ en ] gcov-options \f[ R ] [=\[dq ]\[dq ] ]
54+ .SS \f[B] -- gcov-options\f[ R ] [=\[lq ]\[rq ] ]
4155.PP
4256Set the options given to gcov.
43- .SS \f[B] -r \f[ R ] , \f[B] \[ en ] root \f[ R ] [=.]
57+ .SS \f[B] -r \f[ R ] , \f[B] -- root\f[ R ] [=.]
4458.PP
4559Set the root directory.
46- .SS \f[B] -b \f[ R ] , \f[B] \[ en ] build-root \f[ R ] [={discovered}]
60+ .SS \f[B] -b \f[ R ] , \f[B] -- build-root\f[ R ] [={discovered}]
4761.PP
4862Set the directory from which gcov will be called; by default gcov is run
4963in the directory of the .o files; however the paths of the sources are
5064often relative to the directory from which the compiler was run and
5165these relative paths are saved in the .o file; when this happens, gcov
5266needs to run in the same directory as the compiler in order to find the
5367source files.
54- .SS \f[B] \[ en ] collect-root \f[ R ] [={value of \[ en ] root}]
68+ .SS \f[B] -- collect-root\f[ R ] [={value of -- root}]
5569.PP
5670Directory to look gcov files in.
57- .SS \f[B] -e \f[ R ] , \f[B] \[ en ] exclude \f[ R ] [=\[dq ]\[dq ] ]
71+ .SS \f[B] -e \f[ R ] , \f[B] -- exclude\f[ R ] [=\[lq ]\[rq ] ]
5872.PP
5973List of paths to exclude.
6074Can be specifieid multiple times.
@@ -63,44 +77,44 @@ Examples:
6377.IP
6478.nf
6579\f[ C ]
66- uncov-gcov --exclude build-release --exclude build-debug ...
67- uncov-gcov --exclude build-release build-debug ...
68- uncov-gcov --exclude build* ...
80+ uncov-gcov -\[ rs ] -exclude build-release -\[ rs ] -exclude build-debug ...
81+ uncov-gcov -\[ rs ] -exclude build-release build-debug ...
82+ uncov-gcov -\[ rs ] -exclude build* ...
6983\f[ R ]
7084.fi
71- .SS \f[B] -i \f[ R ] , \f[B] \[ en ] include \f[ R ] [=\[dq ]\[dq ] ]
85+ .SS \f[B] -i \f[ R ] , \f[B] -- include\f[ R ] [=\[lq ]\[rq ] ]
7286.PP
7387List of paths to include.
7488Can be specifieid multiple times.
75- See \f[B] \[ en ] exclude \f[ R ] for examples.
76- .SS \f[B] -E \f[ R ] , \f[B] \[ en ] exclude-pattern \f[ R ] [=\[dq ]\[dq ] ]
89+ See \f[B] -- exclude\f[ R ] for examples.
90+ .SS \f[B] -E \f[ R ] , \f[B] -- exclude-pattern\f[ R ] [=\[lq ]\[rq ] ]
7791.PP
7892Set exclude file/directory pattern.
79- .SS \f[B] -x \f[ R ] , \f[B] \[ en ] extension \f[ R ] [=.h,.hh,.hpp,.hxx,.c,.cc,.cpp,.cxx,.m,.mm]
93+ .SS \f[B] -x \f[ R ] , \f[B] -- extension\f[ R ] [=.h,.hh,.hpp,.hxx,.c,.cc,.cpp,.cxx,.m,.mm]
8094.PP
8195Set extension of files to process.
82- .SS \f[B] -n \f[ R ] , \f[B] \[ en ] no-gcov \f[ R ]
96+ .SS \f[B] -n \f[ R ] , \f[B] -- no-gcov\f[ R ]
8397.PP
8498Do not run gcov.
85- .SS \f[B] \[ en ] encodings \f[ R ] [=utf-8,latin-1]
99+ .SS \f[B] -- encodings\f[ R ] [=utf-8,latin-1]
86100.PP
87101Source encodings to try in order of preference.
88- .SS \f[B] \[ en ] dump \f[ R ] <file>
102+ .SS \f[B] -- dump\f[ R ] <file>
89103.PP
90104Dump JSON payload to a file.
91- .SS \f[B] \[ en ] follow-symlinks \f[ R ]
105+ .SS \f[B] -- follow-symlinks\f[ R ]
92106.PP
93107Follow symlinks.
94- .SS \f[B] -c \f[ R ] , \f[B] \[ en ] capture-worktree \f[ R ]
108+ .SS \f[B] -c \f[ R ] , \f[B] -- capture-worktree\f[ R ]
95109.PP
96110Make a dangling commit if working directory is dirty.
97- .SS \f[B] \[ en ] ref-name \f[ R ] [={discovered}]
111+ .SS \f[B] -- ref-name\f[ R ] [={discovered}]
98112.PP
99113Force custom ref name.
100- .SS \f[B] \[ en ] cpp-dtor-invocations \f[ R ]
114+ .SS \f[B] -- cpp-dtor-invocations\f[ R ]
101115.PP
102116Count coverage for C++ destructor invocations, which tends to show up at
103- lines that have the closing brace (\f[ C ] {\f[ R ] ).
117+ lines that have the closing brace (\f[ V ] {\f[ R ] ).
104118.SH USAGE
105119.PP
106120uncov-gcov can be used to generate coverage, but it seems to not play
@@ -118,9 +132,9 @@ find . -name \[aq]*.gcda\[aq] -delete
118132# generage coverage for every object file found (change \[dq ] .\[dq ] to build root)
119133find . -name \[aq ] *.o\[aq ] -exec gcov -p {} +
120134
121- # generage and combine coverage reports (--capture-worktree automatically
135+ # generage and combine coverage reports (-\[ rs ] -capture-worktree automatically
122136# makes stray commit if repository is dirty)
123- uncov-gcov --root . --no-gcov --capture-worktree --exclude tests | uncov new
137+ uncov-gcov -\[ rs ] -root . -\[ rs ] -no-gcov -\[ rs ] -capture-worktree -\[ rs ] -exclude tests | uncov new
124138
125139# remove coverage reports
126140find . -name \[aq ] *.gcov\[aq ] -delete
0 commit comments