cvs: php4 /pear/PEAR/Command Package.php
| From: | Tomas V.V.Cox | Date: | Thu, 06 Jun 2002 09:05:05 +0000 |
| Subject: | cvs: php4 /pear/PEAR/Command Package.php | ||
| Groups: | php.pear.cvs | ||
| Request: | Send a blank email to pear-cvs+get-4437@lists.php.net to get a copy of this message | ||
cox Thu Jun 6 05:05:05 2002 EDT
Modified files:
/php4/pear/PEAR/Command Package.php
Log:
Forgot that one
Index: php4/pear/PEAR/Command/Package.php
diff -u php4/pear/PEAR/Command/Package.php:1.36 php4/pear/PEAR/Command/Package.php:1.37
--- php4/pear/PEAR/Command/Package.php:1.36 Thu Jun 6 03:22:23 2002
+++ php4/pear/PEAR/Command/Package.php Thu Jun 6 05:05:04 2002
@@ -17,7 +17,7 @@
// | Martin Jansen <mj@php.net> |
// +----------------------------------------------------------------------+
//
-// $Id: Package.php,v 1.36 2002/06/06 07:22:23 cox Exp $
+// $Id: Package.php,v 1.37 2002/06/06 09:05:04 cox Exp $
require_once 'PEAR/Common.php';
require_once 'PEAR/Command/Common.php';
@@ -208,7 +208,7 @@
return $info;
}
$data = &PEAR_Command_Package::_infoForDisplaying($info);
- $this->ui->outputData($data, $command);
+ $this->ui->outputData($data, 'package-info');
}
/**
@@ -270,7 +270,7 @@
$info[$key] = preg_replace('/ +/', ' ', $info[$key]);
}
}
- $caption = 'About ' . basename($params[0]);
+ $caption = 'About ' . $info['package'];
$data = array(
'caption' => $caption,
'border' => true);