diff options
author | SVN Migration <svn@php.net> | 2002-03-13 18:39:43 +0000 |
---|---|---|
committer | SVN Migration <svn@php.net> | 2002-03-13 18:39:43 +0000 |
commit | 8d6817e7f142091b1c30de30f349c3fde9d7e094 (patch) | |
tree | 45704599905d4a7445ad446fc5337374a3390dbf /pear/scripts/pearcmd-list.php | |
parent | 94e6810a2a3e189cf729bdbae8f45cd9d7987ad6 (diff) | |
download | php-git-help.tar.gz |
This commit was manufactured by cvs2svn to create tag 'help'.help
Diffstat (limited to 'pear/scripts/pearcmd-list.php')
-rw-r--r-- | pear/scripts/pearcmd-list.php | 20 |
1 files changed, 0 insertions, 20 deletions
diff --git a/pear/scripts/pearcmd-list.php b/pear/scripts/pearcmd-list.php deleted file mode 100644 index 6bf0be52da..0000000000 --- a/pear/scripts/pearcmd-list.php +++ /dev/null @@ -1,20 +0,0 @@ -<?php - -$reg = new PEAR_Registry($script_dir); -$installed = $reg->packageInfo(); -$i = $j = 0; -heading("Installed packages:"); -foreach ($installed as $package) { - if ($i++ % 20 == 0) { - if ($j++ > 0) { - print "\n"; - } - printf("%-20s %-10s %s\n", - "Package", "Version", "State"); - print str_repeat("-", 75)."\n"; - } - printf("%-20s %-10s %s\n", $package['package'], - $package['version'], $package['release_state']); -} - -?>
\ No newline at end of file |