Skip to content

Commit bde1c3b

Browse files
committed
Improve documentation for --enable=all flag
1 parent 9ef0910 commit bde1c3b

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
@@ -1753,9 +1753,10 @@ void CmdLineParser::printHelp() const
17531753
" further processing.\n"
17541754
" --enable=<id> Enable additional checks. The available ids are:\n"
17551755
" * all\n"
1756-
" Enable all checks. It is recommended to only\n"
1756+
" Enable all checks (warning, style, performance, portability, information). It is recommended to only\n"
17571757
" use --enable=all when the whole program is\n"
1758-
" scanned, because this enables unusedFunction.\n"
1758+
" scanned, because this enables extra checks such as unusedFunction that may produce\n"
1759+
" many warnings. Example: cppcheck --enable = all file.cpp\n"
17591760
" * warning\n"
17601761
" Enable warning messages\n"
17611762
" * style\n"

0 commit comments

Comments
 (0)