diff --git a/pear/PEAR/Command/Package.php b/pear/PEAR/Command/Package.php index b3aed7b4d4a..5c0e79fd5c3 100644 --- a/pear/PEAR/Command/Package.php +++ b/pear/PEAR/Command/Package.php @@ -208,7 +208,7 @@ List all depencies the package has.' return $info; } $data = &PEAR_Command_Package::_infoForDisplaying($info); - $this->ui->outputData($data, $command); + $this->ui->outputData($data, 'package-info'); } /** @@ -270,7 +270,7 @@ List all depencies the package has.' $info[$key] = preg_replace('/ +/', ' ', $info[$key]); } } - $caption = 'About ' . basename($params[0]); + $caption = 'About ' . $info['package']; $data = array( 'caption' => $caption, 'border' => true);