Skip to content

Commit 92de2a3

Browse files
committed
More verbose help text about --library=<cfg>
1 parent 34a61e0 commit 92de2a3

1 file changed

Lines changed: 7 additions & 1 deletion

File tree

cli/cmdlineparser.cpp

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -917,7 +917,13 @@ void CmdLineParser::PrintHelp()
917917
" Forces cppcheck to check all files as the given\n"
918918
" language. Valid values are: c, c++\n"
919919
" --library=<cfg>\n"
920-
" Use library configuration.\n"
920+
" Load file <cfg> that contains information about types\n"
921+
" and functions. With such information Cppcheck\n"
922+
" understands your your code better and therefore you\n"
923+
" get better results. The std.cfg file that is\n"
924+
" distributed with Cppcheck is loaded automatically.\n"
925+
" For more information about library files, read the\n"
926+
" manual.\n"
921927
" --max-configs=<limit>\n"
922928
" Maximum number of configurations to check in a file\n"
923929
" before skipping it. Default is '12'. If used together\n"

0 commit comments

Comments
 (0)