diff options
author | Zac Medico <zmedico@gentoo.org> | 2011-05-27 15:53:21 -0700 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2011-05-27 15:53:21 -0700 |
commit | d8c868bbf2f2ffc1b2890e7c4d57f03621ac9007 (patch) | |
tree | ed87c9b540d0b6a60dd127edd4d04511436a1533 | |
parent | 49a246a11edff3fdcaebe756ac3432b35b613ec6 (diff) | |
download | portage-d8c868bbf2f2ffc1b2890e7c4d57f03621ac9007.tar.gz portage-d8c868bbf2f2ffc1b2890e7c4d57f03621ac9007.tar.bz2 portage-d8c868bbf2f2ffc1b2890e7c4d57f03621ac9007.zip |
depclean: warn for each unmatched argument
This output is similar to that produced by unmerge().
-rw-r--r-- | pym/_emerge/actions.py | 5 |
1 files changed, 4 insertions, 1 deletions
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) |