From d37bacb91a118f6d711bcc4c658a3b76c0176453 Mon Sep 17 00:00:00 2001 From: Expo on server Date: Wed, 24 Aug 2022 12:42:01 +0100 Subject: [PATCH] Clarify databasereset help on subfunction use --- databaseReset.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/databaseReset.py b/databaseReset.py index ae1ea55..0ab5cf1 100644 --- a/databaseReset.py +++ b/databaseReset.py @@ -332,7 +332,7 @@ def usage(): - del - deletes last entry - delfirst - deletes first entry - reset - normal usage: clear database and reread everything from files - time-consuming + reset - normal usage: clear database and reread everything from files init - initialisation. Automatic if you run reset. caves - read in the caves (must run first after initialisation) @@ -350,6 +350,9 @@ def usage(): caves and logbooks must be run on an empty db before the others as they set up db tables used by the others. + + Note that running the subfunctions will not produce a consistent website + - only the full 'reset' does that. """) if __name__ == "__main__":