summaryrefslogtreecommitdiffstats
path: root/update.php
diff options
context:
space:
mode:
Diffstat (limited to 'update.php')
-rwxr-xr-xupdate.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/update.php b/update.php
index fbc5207..1b77f4e 100755
--- a/update.php
+++ b/update.php
@@ -252,11 +252,11 @@ function _remove_outdated() {
# _usage
function _usage() {
- print "Usage: update.php <options> <path to hostinfo>
+ print "Usage: update.php [OPTIONS] <path to hostinfo>
-Updates the hostinfo information by first removing all pages in the hostinfo
-namespace from the fulltext index, generating the new files and then
-reindexing all pages.
+Updates the hostinfo information by first generating all changed pages and
+add them to the fulltext index. Pages that should not exists anymore are
+removed (also from the fulltext index) afterwards.
When the -c option is given the index is only cleared and nothing is updated.
OPTIONS