]> granicus.if.org Git - php/commitdiff
Forgot that one
authorTomas V.V.Cox <cox@php.net>
Thu, 6 Jun 2002 09:05:04 +0000 (09:05 +0000)
committerTomas V.V.Cox <cox@php.net>
Thu, 6 Jun 2002 09:05:04 +0000 (09:05 +0000)
pear/PEAR/Command/Package.php

index b3aed7b4d4a6c8f63a4314dfceb7ac65b4c512f6..5c0e79fd5c309ed1cdc725a7bd6afdf45fb46e78 100644 (file)
@@ -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);