File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1009,8 +1009,7 @@ void CmdLineParser::PrintHelp()
10091009 " --version Print out version number.\n "
10101010 " --xml Write results in xml format to error stream (stderr).\n "
10111011 " --xml-version=<version>\n "
1012- " Select the XML file version. Currently versions 1 and\n "
1013- " 2 are available. The default version is 1."
1012+ " Select the XML file version. Currently only versions 2 is available."
10141013 " \n "
10151014 " Example usage:\n "
10161015 " # Recursively check the current folder. Print the progress on the screen and\n "
Original file line number Diff line number Diff line change @@ -525,23 +525,15 @@ cppcheck -DA --force file.c</programlisting>
525525 <chapter >
526526 <title >XML output</title >
527527
528- <para >Cppcheck can generate output in <literal >XML</literal > format. There
529- is an old <literal >XML</literal > format (version 1) and a new
530- <literal >XML</literal > format (version 2). Please use the new version if
531- you can.</para >
532-
533- <para >The old version is kept for backwards compatibility only. It will
534- not be changed, but it will likely be removed someday. Use
528+ <para >Cppcheck can generate output in <literal >XML</literal > format. Use
535529 <parameter >--xml</parameter > to enable this format.</para >
536530
537- <para >The new version fixes a few problems with the old format. The new
538- format will probably be updated in future versions of cppcheck with new
539- attributes and elements. A sample command to check a file and output
540- errors in the new <literal >XML</literal > format:</para >
531+ <para >A sample command to check a file and output
532+ errors in the <literal >XML</literal > format:</para >
541533
542- <programlisting >cppcheck --xml-version=2 file1.cpp</programlisting >
534+ <programlisting >cppcheck --xml file1.cpp</programlisting >
543535
544- <para >Here is a sample version 2 report:</para >
536+ <para >Here is a sample report:</para >
545537
546538 <programlisting >< ?xml version="1.0" encoding="UTF-8"?>
547539< results version="2">
You can’t perform that action at this time.
0 commit comments