From 757ec9ef38ebad864d03971ff389c4d0a42f506f Mon Sep 17 00:00:00 2001 From: "Tomas V.V.Cox" Date: Sat, 23 Mar 2002 17:55:51 +0000 Subject: [PATCH] Show maintainers name in package-info and show more human friendly column table names --- pear/PEAR/Command/Package.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/pear/PEAR/Command/Package.php b/pear/PEAR/Command/Package.php index 167a2ef734..d61c72091c 100644 --- a/pear/PEAR/Command/Package.php +++ b/pear/PEAR/Command/Package.php @@ -134,12 +134,13 @@ class PEAR_Command_Package extends PEAR_Command_Common if ($i++ > 0) { $mstr .= "\n"; } + $mstr .= $m['name'] . " <"; if (isset($m['email'])) { $mstr .= $m['email']; } else { $mstr .= $m['handle'] . '@php.net'; } - $mstr .= " ($m[role])"; + $mstr .= "> ($m[role])"; } $info[$key] = $mstr; break; @@ -185,6 +186,7 @@ class PEAR_Command_Package extends PEAR_Command_Common $this->ui->startTable(array('caption' => $caption, 'border' => true)); foreach ($info as $key => $value) { + $key = ucwords(str_replace('_', ' ', $key)); $this->ui->tableRow(array($key, $value), null, array(1 => array('wrap' => 55))); } $this->ui->endTable(); -- 2.50.1