extracttests.py: Added a little help info
This commit is contained in:
parent
9c626b941a
commit
52caadf957
|
@ -55,6 +55,10 @@ class Extract:
|
||||||
def strtoxml(s):
|
def strtoxml(s):
|
||||||
return s.replace('&','&').replace('"', '"').replace('<','<').replace('>','>')
|
return s.replace('&','&').replace('"', '"').replace('<','<').replace('>','>')
|
||||||
|
|
||||||
|
if len(sys.argv) == 1 or '--help' in sys.argv:
|
||||||
|
print 'Extract test cases from test file'
|
||||||
|
print 'Syntax: extracttests.py [--html=folder] [--xml] path/testfile.cpp'
|
||||||
|
|
||||||
# parse command line
|
# parse command line
|
||||||
xml = False
|
xml = False
|
||||||
filename = None
|
filename = None
|
||||||
|
|
Loading…
Reference in New Issue