forked from expo/troggle
Clarify databasereset help on subfunction use
This commit is contained in:
parent
96b2c6c9ed
commit
d37bacb91a
@ -332,7 +332,7 @@ def usage():
|
|||||||
- del - deletes last entry
|
- del - deletes last entry
|
||||||
- delfirst - deletes first 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.
|
init - initialisation. Automatic if you run reset.
|
||||||
caves - read in the caves (must run first after initialisation)
|
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
|
caves and logbooks must be run on an empty db before the others as they
|
||||||
set up db tables used by the others.
|
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__":
|
if __name__ == "__main__":
|
||||||
|
Loading…
Reference in New Issue
Block a user