daca2: remove {code} in results

This commit is contained in:
Daniel Marjamäki 2018-04-24 16:16:45 +02:00
parent 6fb25dcaa4
commit cdf7ea0a33
1 changed files with 2 additions and 2 deletions

View File

@ -554,8 +554,8 @@ bool CmdLineParser::parseFromArgs(int argc, const char* const argv[])
_settings->templateFormat = "{file}:{line}:{column}: warning: {message} [{id}]\\n{code}"; _settings->templateFormat = "{file}:{line}:{column}: warning: {message} [{id}]\\n{code}";
_settings->templateLocation = "{file}:{line}:{column}: note: {info}\\n{code}"; _settings->templateLocation = "{file}:{line}:{column}: note: {info}\\n{code}";
} else if (_settings->templateFormat == "daca2") { } else if (_settings->templateFormat == "daca2") {
_settings->templateFormat = "{file}:{line}:{column}: {severity}: {message} [{id}]\\n{code}"; _settings->templateFormat = "{file}:{line}:{column}: {severity}: {message} [{id}]";
_settings->templateLocation = "{file}:{line}:{column}: note: {info}\\n{code}"; _settings->templateLocation = "{file}:{line}:{column}: note: {info}";
} else if (_settings->templateFormat == "vs") } else if (_settings->templateFormat == "vs")
_settings->templateFormat = "{file}({line}): {severity}: {message}"; _settings->templateFormat = "{file}({line}): {severity}: {message}";
else if (_settings->templateFormat == "edit") else if (_settings->templateFormat == "edit")