From: Stig Bakken Date: Wed, 13 Feb 2002 01:07:30 +0000 (+0000) Subject: * print package name X-Git-Tag: php-4.2.0RC1~358 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=042b88389935ad52cf5a587255ca8e79e779091a;p=php * print package name --- diff --git a/pear/scripts/pearcmd-remote-list.php b/pear/scripts/pearcmd-remote-list.php index e0bd896621..c9db676745 100644 --- a/pear/scripts/pearcmd-remote-list.php +++ b/pear/scripts/pearcmd-remote-list.php @@ -9,6 +9,7 @@ if (PEAR::isError($result)) { } heading("Available packages"); + foreach ($result as $package => $info) { if ($i++ % 20 == 0) { if ($j++ > 0) { @@ -22,7 +23,7 @@ foreach ($result as $package => $info) { $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']); }