xml2: rename '--xmlver' to '--xml-version'. bugfix in settings, change the type of _xml_version from bool to int.
This commit is contained in:
parent
1f1df0645b
commit
11a0ac4e07
|
@ -169,7 +169,7 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[])
|
||||||
|
|
||||||
#ifndef NDEBUG
|
#ifndef NDEBUG
|
||||||
// Experimental: Write results in xml2 format
|
// 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 = true;
|
||||||
_settings->_xml_version = 2;
|
_settings->_xml_version = 2;
|
||||||
|
|
|
@ -88,7 +88,7 @@ public:
|
||||||
bool _xml;
|
bool _xml;
|
||||||
|
|
||||||
/** @brief xml version (--xmlver=..) */
|
/** @brief xml version (--xmlver=..) */
|
||||||
bool _xml_version;
|
int _xml_version;
|
||||||
|
|
||||||
/** @brief How many processes/threads should do checking at the same
|
/** @brief How many processes/threads should do checking at the same
|
||||||
time. Default is 1. (-j N) */
|
time. Default is 1. (-j N) */
|
||||||
|
|
Loading…
Reference in New Issue