From 0dbff657abb6e63145081d43f1691f1ef7c90050 Mon Sep 17 00:00:00 2001 From: niooss-ledger <64031241+niooss-ledger@users.noreply.github.com> Date: Sat, 12 Dec 2020 08:30:10 +0100 Subject: [PATCH] Add missing \n in help (#2941) cppcheck --help printed: --project-configuration= If used together with a Visual Studio Solution (*.sln) or Visual Studio Project (*.vcxproj) you can limit the configuration cppcheck should check. For example: --project-configuration=Release|Win32 --max-configs= Maximum number of configurations to check in a file before skipping it. Default is '12'. If used together with '--force', the last option is the one that is effective. A "\n" was missing before option --max-configs, and the doublequotes did nothing. --- cli/cmdlineparser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 30a7e6beb..bc99f4e91 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -1107,7 +1107,7 @@ void CmdLineParser::printHelp() " If used together with a Visual Studio Solution (*.sln)\n" " or Visual Studio Project (*.vcxproj) you can limit\n" " the configuration cppcheck should check.\n" - " For example: ""--project-configuration=Release|Win32""" + " For example: '--project-configuration=Release|Win32'\n" " --max-configs=\n" " Maximum number of configurations to check in a file\n" " before skipping it. Default is '12'. If used together\n"