aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-18 17:23:18 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2006-02-18 17:23:18 +0000
commit60ea99ee00f81839109124bc3d36fbd86114e42c (patch)
tree802d6f2f505e6eec83f3496b4338154d49acfaad
parent2017a83cb8ceb2b3dcb99653f6e3f33185ad3775 (diff)
downloadpaludis-60ea99ee00f81839109124bc3d36fbd86114e42c.tar.gz
paludis-60ea99ee00f81839109124bc3d36fbd86114e42c.tar.xz
improve keywords checking
-rw-r--r--paludis/qa/keywords_check.cc6
1 files changed, 5 insertions, 1 deletions
diff --git a/paludis/qa/keywords_check.cc b/paludis/qa/keywords_check.cc
index 7b7fbd0..82f4ee9 100644
--- a/paludis/qa/keywords_check.cc
+++ b/paludis/qa/keywords_check.cc
@@ -45,7 +45,11 @@ KeywordsCheck::operator() (const EbuildCheckData & e) const
if (keywords.end() != keywords.find(KeywordName("-*")) &&
keywords.size() == 1)
- result << Message(qal_major, "-* abuse");
+ result << Message(qal_major, "-* abuse (use package.mask and keyword properly)");
+
+ else if (keywords.empty())
+ result << Message(qal_major, "KEYWORDS empty");
+
}
catch (const NameError &)
{