THP: Add usage message

This commit is contained in:
Worros 2011-01-18 14:31:13 +08:00
parent bba6d48c7d
commit 77f69881f0

View File

@ -198,6 +198,10 @@ def walk_testfiles(dir, function, importer, errors, site):
def usage():
print "USAGE:"
print "Run all tests:"
print "\t./TestHandsPlayers.py"
print "Run tests for a sinlge site:"
print "\t./TestHandsPlayers -s <Sitename>"
sys.exit(0)
def main(argv=None):