diff options
author | Zac Medico <zmedico@gentoo.org> | 2008-04-21 19:41:20 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2008-04-21 19:41:20 +0000 |
commit | 29768dad19a61a23bb6dc02c122774320cf093b9 (patch) | |
tree | 642c015d2f68b90cb283d8f5e1d66c89d560be27 | |
parent | 1781f3603402325a85c46d85ab4ac594e380fec7 (diff) | |
download | portage-29768dad19a61a23bb6dc02c122774320cf093b9.tar.gz portage-29768dad19a61a23bb6dc02c122774320cf093b9.tar.bz2 portage-29768dad19a61a23bb6dc02c122774320cf093b9.zip |
Bug #218439 - Improve alignment in short emerge --help options output.
svn path=/main/trunk/; revision=9940
-rw-r--r-- | pym/_emerge/help.py | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py index b6bc541cd..9fe1d3a85 100644 --- a/pym/_emerge/help.py +++ b/pym/_emerge/help.py @@ -14,11 +14,12 @@ def shorthelp(): print " "+turquoise("emerge")+" < "+turquoise("--sync")+" | "+turquoise("--metadata")+" | "+turquoise("--info")+" >" print " "+turquoise("emerge")+" "+turquoise("--resume")+" [ "+green("--pretend")+" | "+green("--ask")+" | "+green("--skipfirst")+" ]" print " "+turquoise("emerge")+" "+turquoise("--help")+" [ "+green("system")+" | "+green("world")+" | "+green("--sync")+" ] " - print bold("Options:")+" "+green("-")+"["+green("abBcCdDefgGhkKlnNoOpqPsStuvV")+"] ["+green("--oneshot")+"] ["+green("--newuse")+"] ["+green("--noconfmem")+"]" - print " [ " + green("--color")+" < " + turquoise("y") + " | "+ turquoise("n")+" > ] [ "+green("--columns")+" ]" - print " [ "+green("--reinstall ")+turquoise("changed-use")+" ] ["+green("--nospinner")+"]" - print " [ "+green("--complete-graph")+" ] [ "+green("--deep")+" ] [" + green("--with-bdeps")+" < " + turquoise("y") + " | "+ turquoise("n")+" > ]" - print bold("Actions:")+" [ "+green("--clean")+" | "+green("--depclean")+" | "+green("--prune")+" | "+green("--regen")+" | "+green("--search")+" | "+green("--unmerge")+" ]" + print bold("Options:")+" "+green("-")+"["+green("abBcCdDefgGhkKlnNoOpqPsStuvV")+"]" + print " [ "+green("--columns")+" ] [ "+green("--deep")+" ] [ "+green("--newuse")+" ]" + print " [ "+green("--noconfmem")+" ] [ "+green("--oneshot")+" ] [ "+green("--nospinner")+" ]" + print " [ " + green("--color")+" < " + turquoise("y") + " | "+ turquoise("n")+" > ] [ "+green("--complete-graph")+" ]" + 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")+" ]" def help(myaction,myopts,havecolor=1): # TODO: Implement a wrap() that accounts for console color escape codes. |