2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2025-01-18 17:02:31 +00:00

making in-code documentation strings match what actually happens

This commit is contained in:
Philip Sargent 2020-02-19 22:14:00 +00:00
parent 04fb2e8701
commit b6dc711c14

View File

@ -168,13 +168,13 @@ def writeCaves():
def usage():
print("""Usage is 'python databaseReset.py <command>'
where command is:
reset - this is normal usage, clear database and reread everything
desc
caves - read in the caves
logbooks - read in the logbooks
reset - this is normal usage, clear database and reread everything from files - timeconsuming
desc - NOT WORKING: function resetdesc() missing
caves - read in the caves
logbooks - read in the logbooks, but read in people first
autologbooks
dumplogbooks
people
people - read in the people
QMs - read in the QM files
resetend
scans - read in the scanned surveynotes
@ -183,6 +183,9 @@ 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 auto-generated files from the database
""")
if __name__ == "__main__":