cli: updated help text for --std option

This commit is contained in:
Daniel Marjamäki 2011-10-16 15:32:40 +02:00
parent 1a710e5761
commit 618379ffd7
1 changed files with 8 additions and 2 deletions

View File

@ -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"