summaryrefslogtreecommitdiff
path: root/index.php
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-06-16 13:43:31 -0700
committerBharat Mediratta <bharat@menalto.com>2009-06-16 13:43:31 -0700
commit2155a95620c51bfe2c407281b5b72b7190919719 (patch)
treec15b9e86615ef8d081494cff793992062bc511d7 /index.php
parentab38c9277154504d321360a8555593696ee202eb (diff)
Warn the end user not to run test or package targets.
Diffstat (limited to 'index.php')
-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 {