xml2: rename '--xmlver' to '--xml-version'. bugfix in settings, change the type of _xml_version from bool to int.

This commit is contained in:
Daniel Marjamäki 2010-12-04 14:20:51 +01:00
parent 1f1df0645b
commit 11a0ac4e07
2 changed files with 2 additions and 2 deletions

View File

@ -169,7 +169,7 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
#ifndef NDEBUG
// Experimental: Write results in xml2 format
else if (strcmp(argv[i], "--xmlver=2") == 0)
else if (strcmp(argv[i], "--xml-version=2") == 0)
{
_settings->_xml = true;
_settings->_xml_version = 2;

View File

@ -88,7 +88,7 @@ public:
bool _xml;
/** @brief xml version (--xmlver=..) */
bool _xml_version;
int _xml_version;
/** @brief How many processes/threads should do checking at the same
time. Default is 1. (-j N) */