Small fixes for -I and --includes-file help texts

This commit is contained in:
makulik 2011-10-30 21:19:16 +01:00 committed by Daniel Marjamäki
parent f2199adc3f
commit 0b6e7d7dd2
2 changed files with 12 additions and 8 deletions

View File

@ -702,12 +702,15 @@ void CmdLineParser::PrintHelp()
" together with '--max-ifdefs=', the last option is the\n" " together with '--max-ifdefs=', the last option is the\n"
" one that is effective.\n" " one that is effective.\n"
" -h, --help Print this help.\n" " -h, --help Print this help.\n"
" -I <dir> Give include path. Give several '-I' parameters to give\n" " -I <dir> Give path to search for include files. Give several\n"
" several paths. First given path is checked first. If\n" " -I parameters to give several paths. First given path is\n"
" paths are relative to source files, this is not needed.\n" " searched for contained header files first. If paths are\n"
" relative to source files, this is not needed.\n"
" --includes-file=<file>\n" " --includes-file=<file>\n"
" Specify the include paths to check in a text file. Add\n" " Specify directory paths to search for included header files\n"
" one include path per line.\n" " in a text file. Add one include path per line.\n"
" First given path is searched for contained header files first.\n"
" If paths are relative to source files, this is not needed.\n"
" -i <dir or file> Give a source file or source file directory to exclude\n" " -i <dir or file> Give a source file or source file directory to exclude\n"
" from the check. This applies only to source files so\n" " from the check. This applies only to source files so\n"
" header files included by source files are not matched.\n" " header files included by source files are not matched.\n"

View File

@ -268,14 +268,15 @@ default. If used together with --max-ifdefs=, the last option is the one that is
<varlistentry> <varlistentry>
<term><option>-I &lt;dir&gt;</option></term> <term><option>-I &lt;dir&gt;</option></term>
<listitem> <listitem>
<para>Give include path. Give several -I parameters to give several paths. First given path is checked first. If paths are relative to source <para>Give path to search for include files. Give several -I parameters to give several paths. First given path is
files, this is not needed.</para> searched for contained header files first. If paths are relative to source files, this is not needed.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
<varlistentry> <varlistentry>
<term><option>--includes-file=&lt;file&gt;</option></term> <term><option>--includes-file=&lt;file&gt;</option></term>
<listitem> <listitem>
<para>Specify the include paths to check in a text file. Add one include path per line.</para> <para>Specify directory paths to search for included header files in a text file. Add one include path per line.
First given path is searched for contained header files first. If paths are relative to source files, this is not needed.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>