[svn] with command option

This commit is contained in:
goatchurch 2009-06-28 20:47:11 +01:00
parent b847bde6b7
commit a9c22a3cff

View File

@ -76,6 +76,12 @@ def export_cavetab():
tocavetab.writeCaveTab(outfile)
outfile.close()
if __name__ == "__main__":
import sys
if "reset" in sys.argv:
reset()
else:
print "Do 'python databaseReset.py reset'"