diff --git a/tools/daca2.py b/tools/daca2.py index d14169a52..8c7e07b18 100644 --- a/tools/daca2.py +++ b/tools/daca2.py @@ -152,9 +152,8 @@ def scanarchive(filepath, jobs, cpulimit): cmd = 'cpulimit --limit=' + cpulimit else: cmd = 'nice --adjustment=1000' - cmd = cmd + ' ../cppcheck-O2 -D__GCC__ --enable=style --inconclusive --error-exitcode=0 --exception-handling=stderr ' + jobs + ' .' + cmd = cmd + ' ../cppcheck-O2 -D__GCC__ --enable=style --inconclusive --error-exitcode=0 --exception-handling=stderr ' + jobs + ' --template=clang .' cmds = cmd.split() - cmds.append('--template={callstack}: ({severity}) {message} [{id}]') p = subprocess.Popen(cmds, stdout=subprocess.PIPE, stderr=subprocess.PIPE) comm = p.communicate()