helly Sat May 31 20:24:34 2008 UTC
Modified files: (Branch: PHP_5_3)
/php-src/ext/phar/phar clicommand.inc
Log:
- MFH Add 'help commands' support
http://cvs.php.net/viewvc.cgi/php-src/ext/phar/phar/clicommand.inc?r1=1.23&r2=1.23.4.1&diff_format=u
Index: php-src/ext/phar/phar/clicommand.inc
diff -u php-src/ext/phar/phar/clicommand.inc:1.23
php-src/ext/phar/phar/clicommand.inc:1.23.4.1
--- php-src/ext/phar/phar/clicommand.inc:1.23 Fri Nov 23 05:51:58 2007
+++ php-src/ext/phar/phar/clicommand.inc Sat May 31 20:24:34 2008
@@ -316,6 +316,10 @@
$which = $which[0];
if (!array_key_exists($which, $this->cmds)) {
+ if (strtolower($which) == 'commands') {
+ self::cli_cmd_run_help_list();
+ exit(0);
+ }
self::error("Unknown command, cannot retrieve help.\n");
}
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php