diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index 5fe199c75..a4ed1d7c0 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -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; diff --git a/lib/settings.h b/lib/settings.h index f1f5eb2fd..0e1ff0135 100644 --- a/lib/settings.h +++ b/lib/settings.h @@ -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) */