From: Jørgen Kvalsvik Date: Tue, 25 Jun 2024 06:41:45 +0000 (+0200) Subject: Use the term MC/DC in help for gcov --conditions X-Git-Tag: basepoints/gcc-16~7902 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0bf002100453a0f531855c093f095dc15274a78c;p=thirdparty%2Fgcc.git Use the term MC/DC in help for gcov --conditions 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. --- diff --git a/gcc/gcov.cc b/gcc/gcov.cc index 0d4ef14e6c9..6f3055718d2 100644 --- a/gcc/gcov.cc +++ b/gcc/gcov.cc @@ -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");