2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

Clarify databasereset help on subfunction use

This commit is contained in:
Expo on server 2022-08-24 12:42:01 +01:00
parent 96b2c6c9ed
commit d37bacb91a

View File

@ -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__":