projects
/
platform
/
upstream
/
mic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
923597f
)
fix minor bug of 'mic --version'
author
Gui Chen
<gui.chen@intel.com>
Wed, 1 Aug 2012 03:25:21 +0000
(11:25 +0800)
committer
Gui Chen
<gui.chen@intel.com>
Wed, 1 Aug 2012 03:25:21 +0000
(11:25 +0800)
Signed-off-by: Gui Chen <gui.chen@intel.com>
tools/mic
patch
|
blob
|
history
diff --git
a/tools/mic
b/tools/mic
index
48ba764
..
74294c3
100755
(executable)
--- 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')