summaryrefslogtreecommitdiffstats
path: root/databaseReset.py
diff options
context:
space:
mode:
authorExpo on server <expo@expo.survex.com>2022-08-24 12:42:01 +0100
committerExpo on server <expo@expo.survex.com>2022-08-24 12:42:01 +0100
commitd37bacb91a118f6d711bcc4c658a3b76c0176453 (patch)
treeedf8c68670251f80503ae07ff67e859ce0613e20 /databaseReset.py
parent96b2c6c9ed21bca93aae6433f454206849c117b5 (diff)
downloadtroggle-d37bacb91a118f6d711bcc4c658a3b76c0176453.tar.gz
troggle-d37bacb91a118f6d711bcc4c658a3b76c0176453.tar.bz2
troggle-d37bacb91a118f6d711bcc4c658a3b76c0176453.zip
Clarify databasereset help on subfunction use
Diffstat (limited to 'databaseReset.py')
-rw-r--r--databaseReset.py5
1 files changed, 4 insertions, 1 deletions
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__":