cvs: pear-core /PEAR Command.php
| From: | Greg Beaver | Date: | Fri, 26 Nov 2004 06:23:07 +0000 |
| Subject: | cvs: pear-core /PEAR Command.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-cvs+get-26510@lists.php.net to get a copy of this message | ||
cellog Fri Nov 26 01:23:07 2004 EDT
Modified files:
/pear-core/PEAR Command.php
Log:
make the command help listing alphabetical
http://cvs.php.net/diff.php/pear-core/PEAR/Command.php?r1=1.24&r2=1.25&ty=u
Index: pear-core/PEAR/Command.php
diff -u pear-core/PEAR/Command.php:1.24 pear-core/PEAR/Command.php:1.25
--- pear-core/PEAR/Command.php:1.24 Sun May 16 11:43:30 2004
+++ pear-core/PEAR/Command.php Fri Nov 26 01:23:07 2004
@@ -16,7 +16,7 @@
// | Author: Stig Bakken <ssb@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Command.php,v 1.24 2004/05/16 15:43:30 pajoye Exp $
+// $Id: Command.php,v 1.25 2004/11/26 06:23:07 cellog Exp $
require_once "PEAR.php";
@@ -280,6 +280,8 @@
$GLOBALS['_PEAR_Command_shortcuts'][$shortcut] = $command;
}
}
+ ksort($GLOBALS['_PEAR_Command_shortcuts']);
+ ksort($GLOBALS['_PEAR_Command_commandlist']);
@closedir($dp);
return true;
}