]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Use the term MC/DC in help for gcov --conditions
authorJørgen Kvalsvik <j@lambda.is>
Tue, 25 Jun 2024 06:41:45 +0000 (08:41 +0200)
committerJørgen Kvalsvik <j@lambda.is>
Wed, 26 Jun 2024 10:19:22 +0000 (12:19 +0200)
Without key terms like "masking" and "MC/DC" it is not at all obvious
what --conditions actually reports on, and there is no easy path for the
user to figure out. By at least including the two key terms MC/DC and
masking users have something to search for.

gcc/ChangeLog:

* gcov.cc (print_usage): Reference masking MC/DC.

gcc/gcov.cc

index 0d4ef14e6c94a9d31ff83fdbe88edf010c1489f3..6f3055718d28f514e4e80df7b1a8c4120c0bf90a 100644 (file)
@@ -973,7 +973,7 @@ print_usage (int error_p)
   fnotice (file, "  -c, --branch-counts             Output counts of branches taken\n\
                                     rather than percentages\n");
   fnotice (file, "  -g, --conditions                Include modified condition/decision\n\
-                                    coverage in output\n");
+                                    coverage (masking MC/DC) in output\n");
   fnotice (file, "  -d, --display-progress          Display progress information\n");
   fnotice (file, "  -D, --debug                            Display debugging dumps\n");
   fnotice (file, "  -f, --function-summaries        Output summaries for each function\n");