From b6dc711c14613e97f4741f7b07cfd6557a0582de Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 19 Feb 2020 22:14:00 +0000 Subject: making in-code documentation strings match what actually happens --- databaseReset.py | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) (limited to 'databaseReset.py') 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 ' 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__": -- cgit v1.2.3