summaryrefslogtreecommitdiffstats
path: root/pym/_emerge/help.py
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2011-04-28 09:10:02 -0700
committerZac Medico <zmedico@gentoo.org>2011-04-28 09:10:02 -0700
commitebb887ee7606ec2dd7b266dd3538e68b31ac3a38 (patch)
tree523dcdf1235fc6ef3dc62fb84989b217567d6b82 /pym/_emerge/help.py
parenta35835dda585b128c8390ce87ec3b4ab6c8a0334 (diff)
downloadportage-ebb887ee7606ec2dd7b266dd3538e68b31ac3a38.tar.gz
portage-ebb887ee7606ec2dd7b266dd3538e68b31ac3a38.tar.bz2
portage-ebb887ee7606ec2dd7b266dd3538e68b31ac3a38.zip
emerge: add --misspell-suggestions=n option
This will fix bug #363137.
Diffstat (limited to 'pym/_emerge/help.py')
-rw-r--r--pym/_emerge/help.py9
1 files changed, 9 insertions, 0 deletions
diff --git a/pym/_emerge/help.py b/pym/_emerge/help.py
index a928a85fb..fb1e129e7 100644
--- a/pym/_emerge/help.py
+++ b/pym/_emerge/help.py
@@ -512,6 +512,15 @@ def help(myopts, havecolor=1):
for line in wrap(desc, desc_width):
print(desc_indent + line)
print()
+ print(" " + green("--misspell-suggestions") + " < %s | %s >" % \
+ (turquoise("y"), turquoise("n")))
+ desc = "Enable or disable misspell suggestions. By default, " + \
+ "emerge will show a list of packages with similar names " + \
+ "when a package doesn't exist. The EMERGE_DEFAULT_OPTS " + \
+ "variable may be used to disable this option by default"
+ for line in wrap(desc, desc_width):
+ print(desc_indent + line)
+ print()
print(" "+green("--newuse")+" ("+green("-N")+" short option)")
desc = "Tells emerge to include installed packages where USE " + \
"flags have changed since compilation. This option " + \