Skip to content

Commit dcd6da9

Browse files
committed
Clarify --enable=all help text about whole-program analysis
1 parent 9ef0910 commit dcd6da9

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

cli/cmdlineparser.cpp

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1754,8 +1754,9 @@ void CmdLineParser::printHelp() const
17541754
" --enable=<id> Enable additional checks. The available ids are:\n"
17551755
" * all\n"
17561756
" Enable all checks. It is recommended to only\n"
1757-
" use --enable=all when the whole program is\n"
1758-
" scanned, because this enables unusedFunction.\n"
1757+
" use --enable=all when the entire program is\n"
1758+
" scanned, since some checks (e.g. unusedFunction)\n"
1759+
" require whole-program analysis and may otherwise produce many false positives.\n"
17591760
" * warning\n"
17601761
" Enable warning messages\n"
17611762
" * style\n"

0 commit comments

Comments
 (0)