summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-17 04:43:31 +0800
committer <unostar@danalan.info>2009-06-17 04:56:59 +0800
commit430da0d69e67ba979e86334c09c83403113c8e10 (patch)
treed83fca3a67ae96fd5fa16c1147caa4223c0f85c6
parent821918cb6545de1d581a48d7c8d639c294ac045f (diff)
Warn the end user not to run test or package targets.
Signed-off-by: <unostar@danalan.info>
-rw-r--r--index.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/index.php b/index.php
index 50c08886..7def7d16 100644
--- a/index.php
+++ b/index.php
@@ -65,7 +65,10 @@ if (PHP_SAPI == "cli") {
break;
default:
- print "Usage: php index.php { upgrade | package | test }\n";
+ print "To upgrade:\n php index.php upgrade\n\n\n";
+ print "Developer-only features:\n ** CAUTION! THESE FEATURES -WILL- DAMAGE YOUR INSTALL **\n";
+ print " php index.php package # create new installer files\n";
+ print " php index.php test # run unit tests\n";
exit(1);
}
} else {