From: Zac Medico Date: Thu, 31 Jan 2008 05:52:54 +0000 (-0000) Subject: Bug #138159 - add support for --version (trunk r9200) X-Git-Tag: v2.1.4.1~15 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=a1c8df96f9ff6220700ce1cf3989bd6e12400ccb;p=portage.git Bug #138159 - add support for --version (trunk r9200) svn path=/main/branches/2.1.2/; revision=9239 --- diff --git a/bin/emaint b/bin/emaint index 597527cdd..ea8eef4ee 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",