From a1c8df96f9ff6220700ce1cf3989bd6e12400ccb Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Thu, 31 Jan 2008 05:52:54 +0000 Subject: [PATCH] Bug #138159 - add support for --version (trunk r9200) svn path=/main/branches/2.1.2/; revision=9239 --- bin/emaint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- 2.26.2