From c4c4994d9e8c579dacaf5689f02c3600a6f608d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Wed, 20 Jul 2011 18:38:53 +0200 Subject: [PATCH] cmdlineparser: changed unusedFunctions to unusedFunction to make it work --- cli/cmdlineparser.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cli/cmdlineparser.cpp b/cli/cmdlineparser.cpp index fcb3d18f0..4c61ffc08 100644 --- a/cli/cmdlineparser.cpp +++ b/cli/cmdlineparser.cpp @@ -595,9 +595,9 @@ bool CmdLineParser::ParseFromArgs(int argc, const char* const argv[]) } } - if (_settings->isEnabled("unusedFunctions") && _settings->_jobs > 1) + if (_settings->isEnabled("unusedFunction") && _settings->_jobs > 1) { - PrintMessage("unusedFunctions check can't be used with -j option, so it was disabled."); + PrintMessage("unusedFunction check can't be used with -j option, so it was disabled."); } // FIXME: Make the _settings.test_2_pass thread safe