summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2006-11-02 08:50:43 +0000
committerZac Medico <zmedico@gentoo.org>2006-11-02 08:50:43 +0000
commit07eda8b84b5cf91d8b17dd4d0a7b850b8754c789 (patch)
tree12ed77e3b7f9290dc661b30790b10286b61d3c57 /pym/emergehelp.py
parentDocument the new --color < y | n > option for bug #42115. (diff)
downloadportage-idfetch-07eda8b84b5cf91d8b17dd4d0a7b850b8754c789.tar.gz
portage-idfetch-07eda8b84b5cf91d8b17dd4d0a7b850b8754c789.tar.bz2
portage-idfetch-07eda8b84b5cf91d8b17dd4d0a7b850b8754c789.zip
Add --color < y | n > help output for bug #42115.
svn path=/main/trunk/; revision=4908
Diffstat (limited to 'pym/emergehelp.py')
-rw-r--r--pym/emergehelp.py12
1 files changed, 8 insertions, 4 deletions
diff --git a/pym/emergehelp.py b/pym/emergehelp.py
index c6c0e465..27db3973 100644
--- a/pym/emergehelp.py
+++ b/pym/emergehelp.py
@@ -16,7 +16,8 @@ def shorthelp():
print " "+turquoise("emerge")+" "+turquoise("--resume")+" [ "+green("--pretend")+" | "+green("--ask")+" | "+green("--skipfirst")+" ]"
print " "+turquoise("emerge")+" "+turquoise("--help")+" [ "+green("system")+" | "+green("world")+" | "+green("config")+" | "+green("--sync")+" ] "
print bold("Options:")+" "+green("-")+"["+green("abBcCdDefgGhikKlnNoOpqPsStuvV")+"] ["+green("--oneshot")+"] ["+green("--newuse")+"] ["+green("--noconfmem")+"]"
- print " ["+green("--columns")+"] ["+green("--nocolor")+"] ["+green("--nospinner")+"]"
+ print " [ " + green("--color")+" < " + turquoise("y") + " | "+ turquoise("n")+" > ] [ "+green("--columns")+" ]"
+ print " ["+green("--nospinner")+"]"
print " [ "+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
@@ -186,6 +187,12 @@ def help(myaction,myopts,havecolor=1):
print " When pretending, also display the ChangeLog entries for packages"
print " that will be upgraded."
print
+ print " "+green("--color") + " < " + turquoise("y") + " | "+ turquoise("n")+" >"
+ print " Enable or disable color output. This option will override NOCOLOR"
+ print " (see make.conf(5)) and may also be used to force color output when"
+ print " stdout is not a tty (by default, color is disabled unless stdout"
+ print " is a tty)."
+ print
print " "+green("--columns")
print " Display the pretend output in a tabular form. Versions are"
print " aligned vertically."
@@ -237,9 +244,6 @@ def help(myaction,myopts,havecolor=1):
print " Tells emerge to include installed packages where USE flags have "
print " changed since installation."
print
- print " "+green("--nocolor")
- print " Suppresses color in the output."
- print
print " "+green("--noconfmem")
print " Portage keeps track of files that have been placed into"
print " CONFIG_PROTECT directories, and normally it will not merge the"