From: Zac Medico Date: Fri, 27 May 2011 22:53:21 +0000 (-0700) Subject: depclean: warn for each unmatched argument X-Git-Tag: v2.2.0_alpha38~54 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d8c868bbf2f2ffc1b2890e7c4d57f03621ac9007;p=portage.git depclean: warn for each unmatched argument This output is similar to that produced by unmerge(). --- diff --git a/pym/_emerge/actions.py b/pym/_emerge/actions.py index 9bc2c2ba3..f6b6928f3 100644 --- a/pym/_emerge/actions.py +++ b/pym/_emerge/actions.py @@ -563,7 +563,10 @@ def action_depclean(settings, trees, ldpath_mtimes, for x in args_set: if vardb.match(x): matched_packages = True - break + else: + writemsg_level("--- Couldn't find '%s' to %s.\n" % \ + (x.replace("null/", ""), action), + level=logging.WARN, noiselevel=-1) if not matched_packages: writemsg_level(">>> No packages selected for removal by %s\n" % \ action)