cli: updated help text for --std option
This commit is contained in:
parent
1a710e5761
commit
618379ffd7
|
@ -694,8 +694,14 @@ void CmdLineParser::PrintHelp()
|
|||
" https://sourceforge.net/projects/cppcheck/files/Articles/\n"
|
||||
#endif
|
||||
" -s, --style Deprecated, use --enable=style\n"
|
||||
" --std=posix Code is posix\n"
|
||||
" --std=c99 Code is C99 standard\n"
|
||||
" --std=<id> Environment. The available options are:\n"
|
||||
" * posix\n"
|
||||
" Use this if a posix environment is available\n"
|
||||
" * c99\n"
|
||||
" Use this if the compiler is C99 compatible\n"
|
||||
" * c++11\n"
|
||||
" Use this if the compiler is C++11 compatible.\n"
|
||||
" note: you probably want to also use --std=c99.\n"
|
||||
" --suppress=<spec> Suppress warnings that match <spec>. The format of\n"
|
||||
" <spec> is:\n"
|
||||
" [error id]:[filename]:[line]\n"
|
||||
|
|
Loading…
Reference in New Issue