diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 6a6874ff8..d170b500c 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -1253,6 +1253,9 @@ void CmdLineParser::printHelp() " -v, --verbose Output more detailed error information.\n" " --version Print out version number.\n" " --xml Write results in xml format to error stream (stderr).\n" + " --xml-version=\n" + " Select the XML file version. Also implies --xml.\n" + " Currently only version 2 is available. The default version is 2.\n" "\n" "Example usage:\n" " # Recursively check the current folder. Print the progress on the screen and\n" diff --git a/man/cppcheck.1.xml b/man/cppcheck.1.xml index 497ad3d1c..ddaf33cc2 100644 --- a/man/cppcheck.1.xml +++ b/man/cppcheck.1.xml @@ -610,7 +610,7 @@ There are false positives with this option. Each result must be carefully invest - Select the XML file version. Currently versions 1 and 2 are available. The default version is 1. + Select the XML file version. Also implies --xml. Currently only version 2 is available. The default version is 2.