diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-06-17 04:43:31 +0800 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2009-06-17 06:19:07 +0800 |
commit | c2880f2f77eabccd8eb01acfd3e1f31364f37c0a (patch) | |
tree | c15b9e86615ef8d081494cff793992062bc511d7 | |
parent | abfcdce7b166bbcb6dc4a71fbe7b63570c840711 (diff) |
Warn the end user not to run test or package targets.
Signed-off-by: Tim Almdal <tnalmdal@shaw.ca>
-rw-r--r-- | index.php | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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 { |