cvs: php4 /pear/scripts pearcmd-remote-list.php
| From: | Stig Bakken | Date: | Wed, 13 Feb 2002 01:07:31 +0000 |
| Subject: | cvs: php4 /pear/scripts pearcmd-remote-list.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-2414@lists.php.net to get a copy of this message | ||
ssb Tue Feb 12 20:07:31 2002 EDT
Modified files:
/php4/pear/scripts pearcmd-remote-list.php
Log:
* print package name
Index: php4/pear/scripts/pearcmd-remote-list.php
diff -u php4/pear/scripts/pearcmd-remote-list.php:1.2 php4/pear/scripts/pearcmd-remote-list.php:1.3
--- php4/pear/scripts/pearcmd-remote-list.php:1.2 Thu Feb 7 15:50:08 2002
+++ php4/pear/scripts/pearcmd-remote-list.php Tue Feb 12 20:07:30 2002
@@ -9,6 +9,7 @@
}
heading("Available packages");
+
foreach ($result as $package => $info) {
if ($i++ % 20 == 0) {
if ($j++ > 0) {
@@ -22,7 +23,7 @@
$info['stable'] = '(none)';
}
$stable = (string)$info['stable'];
- printf("%-20s %-10s %-15s %s\n", $info['name'],
+ printf("%-20s %-10s %-15s %s\n", $package,
$info['stable'], $info['lead'], $info['category']);
}