summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorGui Chen <gui.chen@intel.com>2012-08-01 11:25:21 +0800
committerGui Chen <gui.chen@intel.com>2012-08-01 11:25:21 +0800
commit3dddb3c8de020c0dec0228175fc87a1e1c0a9d57 (patch)
tree817583ff202f466a95c5ab3b3f30f692601bbaf8 /tools
parent923597fba8101e346073f3d8359c9192ede2d9b6 (diff)
downloadmic-3dddb3c8de020c0dec0228175fc87a1e1c0a9d57.tar.gz
mic-3dddb3c8de020c0dec0228175fc87a1e1c0a9d57.tar.bz2
mic-3dddb3c8de020c0dec0228175fc87a1e1c0a9d57.zip
fix minor bug of 'mic --version'
Signed-off-by: Gui Chen <gui.chen@intel.com>
Diffstat (limited to 'tools')
-rwxr-xr-xtools/mic2
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/mic b/tools/mic
index 48ba764..74294c3 100755
--- a/tools/mic
+++ b/tools/mic
@@ -39,6 +39,8 @@ class MicCmd(cmdln.Cmdln):
def get_optparser(self):
optparser = cmdln.CmdlnOptionParser(self, version=self.version)
+ # don't output version info by optparse, mic shows it
+ optparser.version = ""
optparser.add_option('-d', '--debug', action='store_true',
dest='debug',
help='print debug message')