From e91f94a25983673f92255a8e43ba174ea3843591 Mon Sep 17 00:00:00 2001 From: Stig Bakken Date: Tue, 9 Apr 2002 17:15:17 +0000 Subject: [PATCH] * package-validate uses package.xml as default param --- pear/PEAR/Command/Package.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pear/PEAR/Command/Package.php b/pear/PEAR/Command/Package.php index 63e5a59eae..eb2d9771b2 100644 --- a/pear/PEAR/Command/Package.php +++ b/pear/PEAR/Command/Package.php @@ -293,8 +293,7 @@ class PEAR_Command_Package extends PEAR_Command_Common case 'package-validate': { if (sizeof($params) < 1) { - $help = $this->getHelp($command); - return $this->raiseError("$command: missing parameter: $help[0]"); + $params[0] = "package.xml"; } $obj = new PEAR_Common; $info = null; -- 2.50.1