mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2024-11-25 08:41:51 +00:00
Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
a559151c57
@ -168,7 +168,7 @@ def writeCaves():
|
||||
def usage():
|
||||
print("""Usage is 'python databaseReset.py <command>'
|
||||
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
|
||||
caves - read in the caves
|
||||
logbooks - read in the logbooks, but read in people first
|
||||
@ -183,8 +183,8 @@ def usage():
|
||||
surveys
|
||||
tunnel - read in the Tunnel files
|
||||
writeCaves
|
||||
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
|
||||
- read in - always means read from files and put the information into the database
|
||||
- write out - always means create the auto-generated files from the database
|
||||
""")
|
||||
|
||||
if __name__ == "__main__":
|
||||
@ -241,7 +241,3 @@ if __name__ == "__main__":
|
||||
else:
|
||||
print("%s not recognised" % sys.argv)
|
||||
usage()
|
||||
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user