diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-09-21 16:53:31 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-09-21 16:53:31 +0000 |
commit | 29036c4bfc548426b85bae0ab7f373e986aca9fe (patch) | |
tree | ec247e4bdaeea0fc70b1043bc7911b1842592be3 /pym/_emerge/help.py | |
parent | 9ffef1292f6bd2842e543c1e6162b2dd57cb3535 (diff) | |
download | portage-29036c4bfc548426b85bae0ab7f373e986aca9fe.tar.gz portage-29036c4bfc548426b85bae0ab7f373e986aca9fe.tar.bz2 portage-29036c4bfc548426b85bae0ab7f373e986aca9fe.zip |
Add a new --list-sets action, as requested by jmbsvicetto.v2.2_rc9
svn path=/main/trunk/; revision=11531
Diffstat (limited to 'pym/_emerge/help.py')
-rw-r--r-- | pym/_emerge/help.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py index e0b93480c..5c7b0d6e6 100644 --- a/pym/_emerge/help.py +++ b/pym/_emerge/help.py @@ -20,7 +20,7 @@ def shorthelp(): print " [ "+green("--jobs") + " " + turquoise("JOBS")+" ] [ "+green("--keep-going")+" ] [ " + green("--load-average")+" " + turquoise("LOAD") + " ]" print " [ "+green("--newuse")+" ] [ "+green("--noconfmem")+" ] [ "+green("--nospinner")+" ] [ "+green("--oneshot")+" ]" print " [ "+green("--reinstall ")+turquoise("changed-use")+" ] [ " + green("--with-bdeps")+" < " + turquoise("y") + " | "+ turquoise("n")+" > ]" - print bold("Actions:")+" [ "+green("--clean")+" | "+green("--depclean")+" | "+green("--prune")+" | "+green("--regen")+" | "+green("--search")+" | "+green("--unmerge")+" ]" + print bold("Actions:")+" [ "+green("--depclean")+" | "+green("--list-sets")+" | "+green("--search")+" | "+green("--sync")+" | "+green("--version")+" ]" def help(myaction,myopts,havecolor=1): # TODO: Implement a wrap() that accounts for console color escape codes. @@ -112,6 +112,12 @@ def help(myaction,myopts,havecolor=1): print " make.{conf,globals,defaults} and the environment show up if" print " run with the '--verbose' flag." print + print " " + green("--list-sets") + paragraph = "Displays a list of available package sets." + + for line in wrap(paragraph, desc_width): + print desc_indent + line + print print " "+green("--metadata") print " Transfers metadata cache from ${PORTDIR}/metadata/cache/ to" print " /var/cache/edb/dep/ as is normally done on the tail end of an" |