Forgot that one

This commit is contained in:
Tomas V.V.Cox 2002-06-06 09:05:04 +00:00
parent 8447d094c6
commit aa7d447d25

View file

@ -208,7 +208,7 @@ List all depencies the package has.'
return $info; return $info;
} }
$data = &PEAR_Command_Package::_infoForDisplaying($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]); $info[$key] = preg_replace('/ +/', ' ', $info[$key]);
} }
} }
$caption = 'About ' . basename($params[0]); $caption = 'About ' . $info['package'];
$data = array( $data = array(
'caption' => $caption, 'caption' => $caption,
'border' => true); 'border' => true);