diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 35cb2e900..b2576b32c 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -743,14 +743,12 @@ void CmdLineParser::PrintHelp() " by providing an implementation for them.\n" " --check-config Check cppcheck configuration. The normal code\n" " analysis is disabled by this flag.\n" - " -D By default Cppcheck checks all configurations. When -D\n" - " is used, Cppcheck only checks the given configuration.\n" - " But you can also use --force or --max-configs to check\n" - " multiple configurations.\n" + " -D Define preprocessor symbol. Unless --max-configs or\n" + " --force is used, Cppcheck will only check the given\n" + " configuration when -D is used.\n" " Example: '-DDEBUG=1 -D__cplusplus'.\n" - " -U By default Cppcheck checks all configurations. Use -U\n" - " to explicitly hide certain #ifdef code paths from\n" - " checking.\n" + " -U Undefine preprocessor symbol. Use -U to explicitly\n" + " hide certain #ifdef code paths from checking.\n" " Example: '-UDEBUG'\n" " --enable= Enable additional checks. The available ids are:\n" " * all\n"