summaryrefslogtreecommitdiffstats
path: root/databaseReset.py
diff options
context:
space:
mode:
authorPhilip Sargent <philip.sargent@klebos.com>2020-02-19 22:14:00 +0000
committerPhilip Sargent <philip.sargent@klebos.com>2020-02-19 22:14:00 +0000
commitb6dc711c14613e97f4741f7b07cfd6557a0582de (patch)
tree0de479898b3c28fb048f3652e75f4f0fa5176db7 /databaseReset.py
parent04fb2e870124639c6001860b667ccc0eb9ad1ef8 (diff)
downloadtroggle-b6dc711c14613e97f4741f7b07cfd6557a0582de.tar.gz
troggle-b6dc711c14613e97f4741f7b07cfd6557a0582de.tar.bz2
troggle-b6dc711c14613e97f4741f7b07cfd6557a0582de.zip
making in-code documentation strings match what actually happens
Diffstat (limited to 'databaseReset.py')
-rw-r--r--databaseReset.py13
1 files changed, 8 insertions, 5 deletions
diff --git a/databaseReset.py b/databaseReset.py
index fd9b83a..cdc2623 100644
--- a/databaseReset.py
+++ b/databaseReset.py
@@ -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__":