diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index a6571a001..4385e66a7 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -729,7 +729,7 @@ void CmdLineParser::PrintHelp() const " filename per line. When file is '-,' the file list will\n" " be read from standard input.\n" " -f, --force Force checking of all configurations in files. If used\n" - " together with '--max-ifdefs=', the last option is the\n" + " together with '--max-configs=', the last option is the\n" " one that is effective.\n" " -h, --help Print this help.\n" " -I Give path to search for include files. Give several -I\n" diff --git a/man/cppcheck.1.xml b/man/cppcheck.1.xml index 1b6513499..21b233ed7 100644 --- a/man/cppcheck.1.xml +++ b/man/cppcheck.1.xml @@ -265,7 +265,7 @@ Example: '-UDEBUG' Force checking of files that have a lot of configurations. Error is printed if such a file is found so there is no reason to use this by -default. If used together with --max-ifdefs=, the last option is the one that is effective. +default. If used together with --max-configs=, the last option is the one that is effective.