From 2155a95620c51bfe2c407281b5b72b7190919719 Mon Sep 17 00:00:00 2001 From: Bharat Mediratta Date: Tue, 16 Jun 2009 13:43:31 -0700 Subject: Warn the end user not to run test or package targets. --- index.php | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'index.php') 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 { -- cgit v1.2.3