COMMAND genhtml --title "JSON for Modern C++" --legend --demangle-cpp --output-directory html --show-details --branch-coverage json.info.filtered.noexcept
parser=argparse.ArgumentParser(description='A parallel gcov wrapper for fast coverage report generation')
parser.add_argument('-z','--zerocounters',dest='zerocounters',action="store_true",help='Recursively delete all gcda files')
parser.add_argument('-f','--gcda-files',dest='gcda_files',nargs="+",default=[],help='Specify exactly which gcda files should be processed instead of recursivly searching the search directory.')
parser.add_argument('-F','--gcda-files-accurate',dest='gcda_files_accurate',nargs="+",default=[],help='(< gcov 9.0.0) Get accurate header coverage information for just these. These files cannot be processed in parallel')
parser.add_argument('-E','--exclude-gcda',dest='excludepre',nargs="+",default=[],help='.gcda filter - Exclude gcda files from being processed via simple find matching (not regex)')
parser.add_argument('-e','--exclude-gcov',dest='excludepost',nargs="+",default=[],help='.gcov filter - Exclude gcov files from being processed via simple find matching (not regex)')
parser.add_argument('-g','--gcov',dest='gcov',default='gcov',help='which gcov binary to use')
parser.add_argument('-d','--search-directory',dest='directory',default=".",help='Base directory to recursively search for gcda files (default: .)')
parser.add_argument('-c','--compiler-directory',dest='cdirectory',default=".",help='Base directory compiler was invoked from (default: .)')
parser.add_argument('-j','--jobs',dest='jobs',type=int,default=multiprocessing.cpu_count(),help='Number of parallel gcov to spawn (default: %d).'%multiprocessing.cpu_count())
parser.add_argument('-o','--output',dest='output',default="coverage.json",help='Name of output file (default: coverage.json)')
parser.add_argument('-i','--lcov',dest='lcov',action="store_true",help='Output in lcov info format instead of gcov json')