2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-25 16:51:54 +00:00

Merge remote-tracking branch 'origin/master'

This commit is contained in:
Philip Sargent 2020-02-20 15:29:30 +00:00
commit a559151c57

View File

@ -168,7 +168,7 @@ def writeCaves():
def usage(): def usage():
print("""Usage is 'python databaseReset.py <command>' print("""Usage is 'python databaseReset.py <command>'
where command is: where command is:
reset - this is normal usage, clear db and reread everything from files - time-consuming reset - this is normal usage, clear database and reread everything from files - time-consuming
desc - NOT WORKING: function resetdesc() missing desc - NOT WORKING: function resetdesc() missing
caves - read in the caves caves - read in the caves
logbooks - read in the logbooks, but read in people first logbooks - read in the logbooks, but read in people first
@ -183,8 +183,8 @@ def usage():
surveys surveys
tunnel - read in the Tunnel files tunnel - read in the Tunnel files
writeCaves writeCaves
read in - always means read from files and put the information into the database - read in - always means read from files and put the information into the database
write out - always means create the HTML files from the database - write out - always means create the auto-generated files from the database
""") """)
if __name__ == "__main__": if __name__ == "__main__":
@ -241,7 +241,3 @@ if __name__ == "__main__":
else: else:
print("%s not recognised" % sys.argv) print("%s not recognised" % sys.argv)
usage() usage()