From 681e4ba31400254463a3d7952e45b5819f7fddd2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 27 Nov 2011 14:11:15 +0100 Subject: [PATCH] extracttests.py: exit if wrong command line is given --- tools/extracttests.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/extracttests.py b/tools/extracttests.py index cca6a2376..81c7be48c 100755 --- a/tools/extracttests.py +++ b/tools/extracttests.py @@ -127,6 +127,7 @@ def writeHtmlFile(nodes, functionName, filename, errorsOnly): 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' + sys.exit(0) # parse command line xml = False