diff options
author | Gui Chen <gui.chen@intel.com> | 2012-08-01 11:25:21 +0800 |
---|---|---|
committer | Gui Chen <gui.chen@intel.com> | 2012-08-01 11:25:21 +0800 |
commit | 3dddb3c8de020c0dec0228175fc87a1e1c0a9d57 (patch) | |
tree | 817583ff202f466a95c5ab3b3f30f692601bbaf8 /tools | |
parent | 923597fba8101e346073f3d8359c9192ede2d9b6 (diff) | |
download | mic-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-x | tools/mic | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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') |