diff options
author | Zac Medico <zmedico@gentoo.org> | 2009-01-12 08:19:48 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2009-01-12 08:19:48 +0000 |
commit | 67aaf8d03b85f0b5907f8b429f38b52cadf6309f (patch) | |
tree | 4f6aa5e4a5b588d4ea6a5da374dcaba4a0694242 /bin | |
parent | 3b2b92e242e2bebcd49961c2f7ae2c705fb2d560 (diff) | |
download | portage-67aaf8d03b85f0b5907f8b429f38b52cadf6309f.tar.gz portage-67aaf8d03b85f0b5907f8b429f38b52cadf6309f.tar.bz2 portage-67aaf8d03b85f0b5907f8b429f38b52cadf6309f.zip |
Add some blank lines around the messages that suggest --without-mask and
--include-dev. Thanks to Ryan Hill <dirtyepic@g.o> for the suggestion.
(trunk r12400)
svn path=/main/branches/2.1.6/; revision=12460
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/repoman | 21 |
1 files changed, 16 insertions, 5 deletions
diff --git a/bin/repoman b/bin/repoman index 6e8b3848e..b8eb9d2ae 100755 --- a/bin/repoman +++ b/bin/repoman @@ -1634,13 +1634,24 @@ def grouplist(mylist,seperator="/"): mygroups[xs[0]]+=[seperator.join(xs[1:])] return mygroups -if have_pmasked and not (options.without_mask or options.ignore_masked): - print bold("Note: use --without-mask to check " + \ - "KEYWORDS on dependencies of masked packages") +suggest_ignore_masked = False +suggest_include_dev = False +if have_pmasked and not (options.without_mask or options.ignore_masked): + suggest_ignore_masked = True if have_dev_keywords and not options.include_dev: - print bold("Note: use --include-dev (-d) to check " + \ - "dependencies for 'dev' profiles") + suggest_include_dev = True + +if suggest_ignore_masked or suggest_include_dev: + print + if suggest_ignore_masked: + print bold("Note: use --without-mask to check " + \ + "KEYWORDS on dependencies of masked packages") + + if suggest_include_dev: + print bold("Note: use --include-dev (-d) to check " + \ + "dependencies for 'dev' profiles") + print if options.mode != 'commit': if dofull: |