From eea92d96ec960686a9f3db00565358e3e2e80c2e Mon Sep 17 00:00:00 2001 From: Dirk Jagdmann Date: Wed, 25 Apr 2012 19:58:34 +0200 Subject: [PATCH] Fixed #3757 (fix command line help and manpage by replacing --max-ifdefs) --- cli/cmdlineparser.cpp | 2 +- man/cppcheck.1.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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.