gcov-5 --version (return code: 0)
gcov (Ubuntu 5.4.0-6ubuntu1~16.04.4) 5.4.0 20160609
Copyright (C) 2015 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or
FITNESS FOR A PARTICULAR PURPOSE.
gcov-5 --help (return code: 0)
Usage: gcov [OPTION]... SOURCE|OBJ...
Print code coverage information.
-h, --help Print this help, then exit
-a, --all-blocks Show information for every basic block
-b, --branch-probabilities Include branch probabilities in output
-c, --branch-counts Output counts of branches taken
rather than percentages
-d, --display-progress Display progress information
-f, --function-summaries Output summaries for each function
-i, --intermediate-format Output .gcov file in intermediate text format
-l, --long-file-names Use long output file names for included
source files
-m, --demangled-names Output demangled function names
-n, --no-output Do not create an output file
-o, --object-directory DIR|FILE Search for object files in DIR or called FILE
-p, --preserve-paths Preserve all pathname components
-r, --relative-only Only show data for relative sources
-s, --source-prefix DIR Source prefix to elide
-u, --unconditional-branches Show unconditional branch counts too
-v, --version Print version number, then exit
For bug reporting instructions, please see:
<file:///usr/share/doc/gcc-5/README.Bugs>.