Skip to content

Commit eea92d9

Browse files
Dirk JagdmannDaniel Marjamäki
authored andcommitted
Fixed #3757 (fix command line help and manpage by replacing --max-ifdefs)
1 parent f84a434 commit eea92d9

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

cli/cmdlineparser.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -729,7 +729,7 @@ void CmdLineParser::PrintHelp() const
729729
" filename per line. When file is '-,' the file list will\n"
730730
" be read from standard input.\n"
731731
" -f, --force Force checking of all configurations in files. If used\n"
732-
" together with '--max-ifdefs=', the last option is the\n"
732+
" together with '--max-configs=', the last option is the\n"
733733
" one that is effective.\n"
734734
" -h, --help Print this help.\n"
735735
" -I <dir> Give path to search for include files. Give several -I\n"

man/cppcheck.1.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ Example: '-UDEBUG'</para>
265265
<term><option>--force</option></term>
266266
<listitem>
267267
<para>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
268-
default. If used together with --max-ifdefs=, the last option is the one that is effective.</para>
268+
default. If used together with --max-configs=, the last option is the one that is effective.</para>
269269
</listitem>
270270
</varlistentry>
271271
<varlistentry>

0 commit comments

Comments
 (0)