added/adjusted --xml-version documentation (#4032)

This commit is contained in:
Oliver Stöneberg 2022-04-21 09:11:59 +02:00 committed by GitHub
parent c7ab35613e
commit ce369c5122
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 1 deletions

View File

@ -1253,6 +1253,9 @@ void CmdLineParser::printHelp()
" -v, --verbose Output more detailed error information.\n" " -v, --verbose Output more detailed error information.\n"
" --version Print out version number.\n" " --version Print out version number.\n"
" --xml Write results in xml format to error stream (stderr).\n" " --xml Write results in xml format to error stream (stderr).\n"
" --xml-version=<version>\n"
" Select the XML file version. Also implies --xml.\n"
" Currently only version 2 is available. The default version is 2.\n"
"\n" "\n"
"Example usage:\n" "Example usage:\n"
" # Recursively check the current folder. Print the progress on the screen and\n" " # Recursively check the current folder. Print the progress on the screen and\n"

View File

@ -610,7 +610,7 @@ There are false positives with this option. Each result must be carefully invest
<option>--xml-version=&lt;version&gt;</option> <option>--xml-version=&lt;version&gt;</option>
</term> </term>
<listitem> <listitem>
<para>Select the XML file version. Currently versions 1 and 2 are available. The default version is 1.</para> <para>Select the XML file version. Also implies --xml. Currently only version 2 is available. The default version is 2.</para>
</listitem> </listitem>
</varlistentry> </varlistentry>
</variablelist> </variablelist>