From 618379ffd73a80e7aa3f838207d680d8338b8d7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 16 Oct 2011 15:32:40 +0200 Subject: [PATCH] cli: updated help text for --std option --- cli/cmdlineparser.cpp | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 8c23737b6..1641a2853 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -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= 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= Suppress warnings that match . The format of\n" " is:\n" " [error id]:[filename]:[line]\n"