summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2008-01-31 05:52:54 +0000
committerZac Medico <zmedico@gentoo.org>2008-01-31 05:52:54 +0000
commita1c8df96f9ff6220700ce1cf3989bd6e12400ccb (patch)
tree9206164faaac3213e09310a176b46ac0715d3d9f
parentBug #205966 - Don't show binhost password when displaying the uri. Thanks (diff)
downloadportage-multirepo-a1c8df96f9ff6220700ce1cf3989bd6e12400ccb.tar.gz
portage-multirepo-a1c8df96f9ff6220700ce1cf3989bd6e12400ccb.tar.bz2
portage-multirepo-a1c8df96f9ff6220700ce1cf3989bd6e12400ccb.zip
Bug #138159 - add support for --version (trunk r9200)
svn path=/main/branches/2.1.2/; revision=9239
-rwxr-xr-xbin/emaint2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/emaint b/bin/emaint
index 597527cd..ea8eef4e 100755
--- a/bin/emaint
+++ b/bin/emaint
@@ -153,7 +153,7 @@ def emaint_main(myargv):
usage+= "tools and provide a single interface to system health checks."
- parser = OptionParser(usage=usage)
+ parser = OptionParser(usage=usage, version=portage.VERSION)
parser.add_option("-c", "--check", help="check for problems",
action="callback", callback=exclusive, callback_kwargs={"var":"action"})
parser.add_option("-f", "--fix", help="attempt to fix problems",