Add support for -cov=ctfe

Incl. making sure `-cov=N ... -cov[=ctfe]` doesn't reset the required
percentage to 0.

Use a dummy *bool* option for a better help output (displaying `--cov`,
not `--cov=<value>`).
This commit is contained in:
Martin Kinkelin 2020-09-23 20:28:06 +02:00
parent 9677bf4068
commit 47b25ca6ab
3 changed files with 38 additions and 34 deletions

View file

@ -158,6 +158,7 @@ Where:\n\
force colored console output on or off, or only when not redirected (default)\n\
-conf=<filename> use config file at filename\n\
-cov do code coverage analysis\n\
-cov=ctfe include code executed during CTFE in coverage report\n\
-cov=<nnn> require at least nnn%% code coverage\n\
-D generate documentation\n\
-Dd<directory> write documentation file to directory\n\