diff --git a/databaseReset.py b/databaseReset.py index e9092ce..7bc1021 100644 --- a/databaseReset.py +++ b/databaseReset.py @@ -76,7 +76,13 @@ 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'" - \ No newline at end of file +