From 01ae5fb593b2fa8e6848952f336fb5c2555d210a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sat, 6 Aug 2011 17:09:49 +0200 Subject: [PATCH] help: clarify --suppress a little in the --help output. Ticket: #2964 --- cli/cmdlineparser.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 228be9268..264e2a921 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -698,9 +698,11 @@ void CmdLineParser::PrintHelp() " https://sourceforge.net/projects/cppcheck/files/Articles/\n" #endif " -s, --style Deprecated, use --enable=style\n" - " --suppress= Suppress a specific warning. The format of is:\n" + " --suppress= Suppress warnings that match . The format of \n" + " is:\n" " [error id]:[filename]:[line]\n" - " The [filename] and [line] are optional.\n" + " The [filename] and [line] are optional. If [error id] is a\n" + " wildcard '*', all error ids match.\n" " --suppressions-list=\n" " Suppress warnings listed in the file. Each suppression\n" " is in the same format as above.\n"